wok-current view libplist/receipt @ rev 17736

prelink: force libpthread link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 12:45:18 2015 +0100 (2015-03-06)
parents 677aeabc6609
children de36eccd040d
line source
1 # SliTaz package receipt.
3 PACKAGE="libplist"
4 VERSION="1.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XMl"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libimobiledevice.org/"
11 WGET_URL="http://www.libimobiledevice.org/downloads/$TARBALL"
13 DEPENDS="glib libxml2"
14 BUILD_DEPENDS="libxml2-dev glib-dev cmake swig python python-dev "
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir build
21 cd build
22 cmake ../ -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
31 cp -a $install/usr/lib/python* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 }