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.23
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="bfdca786880a7f1cc9ce8ac68cb1fd51  dosfstools-3.0.23.tar.xz"
sha256sums="7ffd16266e41f7c4ff729de30d38d357f87e8c0ef0380042e8399a2bfa2a1d9b  dosfstools-3.0.23.tar.xz"
sha512sums="dd65ab982afc024751d207e4db18420f5742915f7edf95769be9800c30ca9e7154a6b32b284451670104675735fb2eb540e2a8808a76697a33ed5121ab35f286  dosfstools-3.0.23.tar.xz"