summaryrefslogtreecommitdiffstats
path: root/testing/exfat-utils/APKBUILD
blob: 0e848a6f676f3d818e253e093c6fd78a4d887288 (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=exfat-utils
pkgver=1.0.1
pkgrel=1
pkgdesc="Free exFAT file system implementation"
url="http://code.google.com/p/exfat/"
arch="all"
license="GPL3+"
depends=""
depends_dev=""
makedepends="$depends_dev scons"
install=""
subpackages=""
source="http://exfat.googlecode.com/files/exfat-utils-$pkgver.tar.gz
	musl-not-found.patch"

_builddir="$srcdir"/exfat-utils-$pkgver
prepare() {
	local i
	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"
	scons -j${JOBS:-2} || return 1

}

package() {
	cd "$_builddir"
	install -d "$pkgdir"/sbin
	scons DESTDIR="$pkgdir"/sbin install || return 1
}

md5sums="e592130829d0bf61fa5e3cd1c759d329  exfat-utils-1.0.1.tar.gz
bd96d8391ba8b2b87b3ce19403f6740b  musl-not-found.patch"
sha256sums="eeacedca1878065dc3886674ae39cd51149c37bd7d6d7e9325c971a1d1acdab3  exfat-utils-1.0.1.tar.gz
5376e498358c73eda6b3b439966120f234f2923a2eb5350c4a683e22ed95e7ff  musl-not-found.patch"
sha512sums="e2716e902110858e33e21395c45881315cbe469cf5192de130031ce989bdcb388944ad22d8588ae1a29d682615809be886086d313d5ab46b3aafa6d356a0e8ac  exfat-utils-1.0.1.tar.gz
0b6e706595949fc70bb2392ff76489ecad1a99a474000225966086a31d93a7029051c4b027db87e2abeeee536b953d1ed0c0531bc11a902d560528b6fb955837  musl-not-found.patch"