wok annotate libplist/receipt @ rev 10240
Up: claws-mail to 3.7.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 01:36:49 2011 +0000 (2011-05-21) |
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 } |