wok-6.x annotate libplist/receipt @ rev 10847
busybox/httpd_helper.sh: normalized variable names
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 17:53:28 2011 +0200 (2011-06-11) |
parents | 92f659875ee2 |
children | 677aeabc6609 |
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@6348 | 9 BUILD_DEPENDS="libxml2-dev glib-dev cmake 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@6348 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6348 | 30 } |