aboutsummaryrefslogtreecommitdiffstats
path: root/main/dosfstools/APKBUILD
blob: 817359b44c36e149897f7526f2bb7785b3b1b9d3 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
pkgver=3.0.15
pkgrel=0
pkgdesc="DOS filesystem utilities"
url="http://www.daniel-baumann.ch/software/dosfstools/"
arch="all"
license="GPL-2"
depends=
makedepends="libiconv-dev"
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_${pkgver}.orig.tar.xz"

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make PREFIX="$pkgdir" \
		MANDIR="$pkgdir"/usr/share/man \
		DOCDIR="$pkgdir"/usr/share/doc \
		install
}
md5sums="64d2020bd8e92105dfad30feee72a3ec  dosfstools_3.0.15.orig.tar.xz"
sha256sums="bbbeabd630f20c9d10592b2cc974926b15e8e010e29d49f308d5464528e2dfc1  dosfstools_3.0.15.orig.tar.xz"
sha512sums="3b18601cfbea254c2f650f1b65caf08d4bcc8a08c6812802898afed93e70652f7cd2d93a5e83d836ffe2f5563b5c067c784dddd7fdd643879143a3c7d00e296d  dosfstools_3.0.15.orig.tar.xz"