wok-current diff libplist/receipt @ rev 7903

fix dep/bdep: mpc-library
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 14:31:14 2011 +0100 (2011-01-09)
parents
children 92f659875ee2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libplist/receipt	Sun Jan 09 14:31:14 2011 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libplist"
     1.7 +VERSION="1.3"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XMl"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="glib libxml2"
    1.12 +BUILD_DEPENDS="libxml2-dev glib-dev cmake python python-dev "
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://libimobiledevice.org/"
    1.15 +WGET_URL="http://cloud.github.com/downloads/JonathanBeck/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	mkdir build
    1.22 +	cd build
    1.23 +	cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr
    1.24 +	make && make DESTDIR=$PWD/../_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib 
    1.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +}