From 6c55fa97d8e5cf7bb1c5e25a17621859cf54641c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 5 Jan 2012 13:53:12 +0000 Subject: 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/ --- testing/ms-sys/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/ms-sys/APKBUILD (limited to 'testing/ms-sys') diff --git a/testing/ms-sys/APKBUILD b/testing/ms-sys/APKBUILD new file mode 100644 index 0000000000..18b9a22fe8 --- /dev/null +++ b/testing/ms-sys/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +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" -- cgit v1.2.3