wok-current view libplist/receipt @ rev 18217

Add hfsutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 17 21:36:53 2015 +0200 (2015-07-17)
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 }