aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ifuse/APKBUILD
blob: de43d98eb0e2aa72d71a5558ac04e46eb1706148 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ifuse
pkgver=1.1.3
pkgrel=0
pkgdesc="A fuse filesystem to access the contents of an iPhone or iPod Touch"
url="http://libimobiledevice.org"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev libimobiledevice-dev gnutls-dev libusb-dev fuse-dev 
	glib-dev libxml2-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$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"
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="${pkgdir}" install
}

md5sums="83478c7b531b26db286c293bb25bd917  ifuse-1.1.3.tar.bz2"
sha256sums="a788de66fb7720c84a5a775df415f78bbfb7c467a76c732d23292c6986252add  ifuse-1.1.3.tar.bz2"
sha512sums="bacf0b00ebc7681022f6e85daa005ee19c99f3222e5db5c4ea6630c2c46111dd3ccd7efcfdbcfabf06cc18ceb58b054c1adb2d106d9b3b7d60a12f3b79c64a3c  ifuse-1.1.3.tar.bz2"