wok-6.x annotate libplist/receipt @ rev 15837
Up: fuse to 2.9.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 04:24:04 2014 +0000 (2014-01-27) |
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 } |