diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2012-01-05 13:53:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-16 14:39:52 +0000 |
commit | 6c55fa97d8e5cf7bb1c5e25a17621859cf54641c (patch) | |
tree | fd6c95ac766a41686a380c722f6a6d593282bed2 /testing/ms-sys | |
parent | 0766f1f5d2d9f31388774e1f3fcfa8cf67c36074 (diff) | |
download | aports-6c55fa97d8e5cf7bb1c5e25a17621859cf54641c.tar.bz2 aports-6c55fa97d8e5cf7bb1c5e25a17621859cf54641c.tar.xz |
Initial APKBUILD for ms-sys
Package description:
This is a Linux program for writing Microsoft compatible boot
records. The program does the same as Microsoft "fdisk /mbr"
to a hard disk or "sys d:" to a floppy or FAT partition except
that it does not copy any system files, only the boot record
is written.
Website: http://ms-sys.sourceforge.net/
Diffstat (limited to 'testing/ms-sys')
-rw-r--r-- | testing/ms-sys/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/ms-sys/APKBUILD b/testing/ms-sys/APKBUILD new file mode 100644 index 000000000..18b9a22fe --- /dev/null +++ b/testing/ms-sys/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=ms-sys +pkgver=2.2.1 +pkgrel=0 +pkgdesc="A tool for creating Microsoft compatible boot records" +url="http://ms-sys.sourceforge.net/" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="gettext" +install="" +subpackages="$pkgname-doc $pkgname-lang" +source="http://downloads.sourceforge.net/ms-sys/ms-sys-$pkgver.tar.gz" +_builddir="$srcdir"/ms-sys-$pkgver + +build() { + cd "$_builddir" + make LDFLAGS="-lintl" || return 1 +} + +package() { + cd "$_builddir" + make \ + PREFIX="/usr" \ + MANDIR="/usr/share/man" \ + DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="659fb46f1b014abe64ae7d635c5bc1f8 ms-sys-2.2.1.tar.gz" |