APKBUILD 987 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
3
pkgver=3.0.17
4
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="DOS filesystem utilities"
url="http://www.daniel-baumann.ch/software/dosfstools/"
7
arch="all"
8 9
license="GPL3+"
depends=""
10
makedepends="libiconv-dev"
Natanael Copa's avatar
Natanael Copa committed
11
subpackages="$pkgname-doc"
12
source="http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$pkgver.tar.xz"
Natanael Copa's avatar
Natanael Copa committed
13

14
_builddir="$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
15
build() { 
16
	cd "$_builddir"
17
	make OPTFLAGS="$CFLAGS" LDFLAGS="-liconv $LDFLAGS" || return 1
18 19 20
}

package() {
21
	cd "$_builddir"
Natanael Copa's avatar
Natanael Copa committed
22 23 24
	make PREFIX="$pkgdir" \
		MANDIR="$pkgdir"/usr/share/man \
		DOCDIR="$pkgdir"/usr/share/doc \
25
		install  || return 1
Natanael Copa's avatar
Natanael Copa committed
26
}
27

28 29 30
md5sums="468b953ddc8baf66e9881d1a5eae03e2  dosfstools-3.0.17.tar.xz"
sha256sums="9dade6b7c8ef06f7d679fcdc4524aa332ec7929837874b51c9bd490fbd4cb29f  dosfstools-3.0.17.tar.xz"
sha512sums="a6e4b6dd4803470fda28ab4f21409ee687718fbf53643283b1eeb665e11c86ab9ef9c704961611582254da6ba0d9b0776b58ed331d1b1f65b20af8d49ba11168  dosfstools-3.0.17.tar.xz"