aboutsummaryrefslogtreecommitdiffstats
path: root/main/dosfstools/APKBUILD
blob: 31779a00f64e34cc6ef37b275eb9ab5398c83571 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dosfstools
pkgver=3.0.16
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://www.daniel-baumann.ch/files/software/$pkgname/$pkgname-$pkgver.orig.tar.xz"

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

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

md5sums="27aca18aeb8bb0851ccaeb47e7416a6e  dosfstools-3.0.16.orig.tar.xz"
sha256sums="450b422d89a305bcca76b1af076c51944a5cc0f1707727ee8ef64e969dd4e956  dosfstools-3.0.16.orig.tar.xz"
sha512sums="09bf955e1c693addad5991dbf18ef3ac39ea194585397a80a1f39c3d5d87e2af6f4ed4775f2c78986bce9a853c89ff1e6fccccf096764282edf7df4c5f188b70  dosfstools-3.0.16.orig.tar.xz"