APKBUILD 986 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
3
pkgver=3.0.24
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"
22 23 24 25
	make DESTDIR="$pkgdir" \
		PREFIX=/usr \
		MANDIR=/usr/share/man \
		DOCDIR=/usr/share/doc \
26
		install  || return 1
Natanael Copa's avatar
Natanael Copa committed
27
}
28

29 30 31
md5sums="41931f36ebee6e79e9dafe85cc916f2b  dosfstools-3.0.24.tar.xz"
sha256sums="1e21b7e7c8872fb3debf2a7fdc8c223a5f592a6efa8ae181a92f558ed28274c1  dosfstools-3.0.24.tar.xz"
sha512sums="9e75e3868f42d4cb404998e8a0cd7d3bc7fe4fc0cf68559644c960fe73e7f0eb67c26ff169085c9e1858e5402efed813b883a5f3682aea29e4d0fc9c9142a006  dosfstools-3.0.24.tar.xz"