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