wok-current annotate libplist/receipt @ rev 12796
nqc: fix wierd TARBALL name side effect
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 09:52:37 2012 +0200 (2012-05-18) |
parents | f931eb6e27dc |
children | 086841d75237 |
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" |
slaxemulator@6348 | 8 DEPENDS="glib libxml2" |
slaxemulator@11737 | 9 BUILD_DEPENDS="libxml2-dev glib-dev cmake swig python python-dev " |
slaxemulator@6348 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6348 | 11 WEB_SITE="http://libimobiledevice.org/" |
slaxemulator@10215 | 12 WGET_URL="http://www.libimobiledevice.org/downloads/$TARBALL" |
slaxemulator@6348 | 13 |
slaxemulator@6348 | 14 # Rules to configure and make the package. |
slaxemulator@6348 | 15 compile_rules() |
slaxemulator@6348 | 16 { |
slaxemulator@6348 | 17 cd $src |
slaxemulator@6348 | 18 mkdir build |
slaxemulator@6348 | 19 cd build |
slaxemulator@10214 | 20 cmake ../ -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr |
slaxemulator@10214 | 21 make && make DESTDIR=$DESTDIR install |
slaxemulator@6348 | 22 } |
slaxemulator@6348 | 23 |
slaxemulator@6348 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6348 | 25 genpkg_rules() |
slaxemulator@6348 | 26 { |
slaxemulator@6348 | 27 mkdir -p $fs/usr/lib |
slaxemulator@6348 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
slaxemulator@11737 | 29 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
slaxemulator@6348 | 30 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6348 | 31 } |