wok-next annotate libplist/receipt @ rev 6835
Forgot patch for freeimage to compile with gcc 4.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 19 21:25:15 2010 +0000 (2010-10-19) |
parents | |
children | 92f659875ee2 |
rev | line source |
---|---|
slaxemulator@6348 | 1 # SliTaz package receipt. |
slaxemulator@6348 | 2 |
slaxemulator@6348 | 3 PACKAGE="libplist" |
slaxemulator@6348 | 4 VERSION="1.3" |
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@6348 | 12 WGET_URL="http://cloud.github.com/downloads/JonathanBeck/$PACKAGE/$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@6348 | 20 cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr |
slaxemulator@6348 | 21 make && make DESTDIR=$PWD/../_pkg 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 } |