diff options
Diffstat (limited to 'testing/ms-sys/APKBUILD')
-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 0000000000..18b9a22fe8 --- /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" |