aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ms-sys/APKBUILD
blob: 18b9a22fe873d8dc22a06b284e77fccdbf4b5be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"