summaryrefslogtreecommitdiffstats
path: root/libplist/Pkgfile
blob: 78167002ef1765dcf61c815560dfc11e4b1e33bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: A library to handle Apple Property List format whereas it's binary or XML 
# URL: http://libimobiledevice.org
# Packager: lesibel at free dot fr
# Maintainer: Gabriel Martinez < reitaka at gmail dot com >
# Depends on: cmake, libxml2, swig, cython
# Run on: libxml2

name=libplist
version=1.8
release=2
source=(http://www.libimobiledevice.org/downloads/$name-$version.tar.bz2)

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