summaryrefslogtreecommitdiffstats
path: root/testing/exfat-utils/APKBUILD
blob: 87e11e45e70746daf0cb9f107cba465a5c56717e (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
# 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"

_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"
sha256sums="eeacedca1878065dc3886674ae39cd51149c37bd7d6d7e9325c971a1d1acdab3  exfat-utils-1.0.1.tar.gz"
sha512sums="e2716e902110858e33e21395c45881315cbe469cf5192de130031ce989bdcb388944ad22d8588ae1a29d682615809be886086d313d5ab46b3aafa6d356a0e8ac  exfat-utils-1.0.1.tar.gz"