APKBUILD 1007 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
3
pkgver=3.0.16
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://www.daniel-baumann.ch/files/software/$pkgname/$pkgname-$pkgver.orig.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="27aca18aeb8bb0851ccaeb47e7416a6e  dosfstools-3.0.16.orig.tar.xz"
sha256sums="450b422d89a305bcca76b1af076c51944a5cc0f1707727ee8ef64e969dd4e956  dosfstools-3.0.16.orig.tar.xz"
sha512sums="09bf955e1c693addad5991dbf18ef3ac39ea194585397a80a1f39c3d5d87e2af6f4ed4775f2c78986bce9a853c89ff1e6fccccf096764282edf7df4c5f188b70  dosfstools-3.0.16.orig.tar.xz"