aboutsummaryrefslogtreecommitdiffstats
path: root/main/dosfstools/APKBUILD
blob: 07c017fbd5b42f1110880a7864f02a6b55e368d0 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
pkgver=3.0.20
pkgrel=0
pkgdesc="DOS filesystem utilities"
url="http://www.daniel-baumann.ch/software/dosfstools/"
arch="all"
license="GPL3+"
depends=""
makedepends="libiconv-dev"
subpackages="$pkgname-doc"
source="http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
build() { 
	cd "$_builddir"
	make OPTFLAGS="$CFLAGS" LDFLAGS="-liconv $LDFLAGS" || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" \
		PREFIX=/usr \
		MANDIR=/usr/share/man \
		DOCDIR=/usr/share/doc \
		install  || return 1
}

md5sums="b34dcf1d22bc1074ebdba68799fa3cad  dosfstools-3.0.20.tar.xz"
sha256sums="b88cbef19f1133eaa1d1a4c450eff09695442966eb34cc3b6c07ace405aa1cb7  dosfstools-3.0.20.tar.xz"
sha512sums="9f1a70a19df3d41cf39ea07f2046a8ec7cdec5523fdbbaf64b35dbd9828f32e729b90cb5f6f83c7a8fb41472b69dcb2f8944adecc0c193c0343d3857dc44bf94  dosfstools-3.0.20.tar.xz"