wok view libplist/receipt @ rev 12824

linux: add ARM patch, improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 11:26:32 2012 +0200 (2012-05-22)
parents f931eb6e27dc
children 086841d75237
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 DEPENDS="glib libxml2"
9 BUILD_DEPENDS="libxml2-dev glib-dev cmake swig python python-dev "
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://libimobiledevice.org/"
12 WGET_URL="http://www.libimobiledevice.org/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir build
19 cd build
20 cmake ../ -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
29 cp -a $_pkg/usr/lib/python* $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 }