blob: 076044838b6de78d17dee7abf6a5cacf0b290e58 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
pkgver=3.0.25
pkgrel=1
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
musl-fixes.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make OPTFLAGS="$CFLAGS -D_GNU_SOURCE" 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="6d000d9f68b7766dfe12c88c4aaaa293 dosfstools-3.0.25.tar.xz
fca2443c06dc0149fdb0aff80f1cad3b musl-fixes.patch"
sha256sums="1d4912860e88fa829314c7824821b502a66460afc5f4bb963dd149e9ee430320 dosfstools-3.0.25.tar.xz
efeec0643e46cabd1c212acf9a06b4a4910454da52a402c6dd0537501ad55a11 musl-fixes.patch"
sha512sums="9ff954fb7bb99d430a132add517afaba75a34e9d54d1afff1aa63e2c9ded16b50d89aa3da3bb8b24a03b2a53fc10c800b66bf121ada5e1e047a99478efde3014 dosfstools-3.0.25.tar.xz
2bec58cf9538b0cd09a72075cf12d0d9a50f0ac9717098b713c72fe7247b0c997ca60a61afb9dfe2f49da42e25019393afa3c19c6e960b6e6559da29fb65e7c7 musl-fixes.patch"
|