summaryrefslogtreecommitdiffstats
path: root/libplist/Pkgfile
blob: 83aa59e6c7cdc3d34f5ab7802ea8a4b938e554a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Librairie pour materiel Apple
# URL: http://libimobiledevice.org/
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
# Depends on: cmake, libxml2, swig
# Run on: libxml2,swig

name=libplist
version=1.3
release=1
source=(http://cloud.github.com/downloads/JonathanBeck/$name/$name-$version.tar.bz2)

build() {
	mkdir build
	cd build
	PYTHON=/usr/bin/python2 cmake ../$name-$version \
		-DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX:PATH=/usr \
		-DPYTHON_EXECUTABLE=/usr/bin/python2
	make
	make DESTDIR=$PKG install
}