wok-next view libplist/receipt @ rev 8922

Fix gob2: add bdep flex
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 01 02:33:54 2011 +0100 (2011-03-01)
parents
children 92f659875ee2
line source
1 # SliTaz package receipt.
3 PACKAGE="libplist"
4 VERSION="1.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XMl"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glib libxml2"
9 BUILD_DEPENDS="libxml2-dev glib-dev cmake python python-dev "
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://libimobiledevice.org/"
12 WGET_URL="http://cloud.github.com/downloads/JonathanBeck/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir build
19 cd build
20 cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr
21 make && make DESTDIR=$PWD/../_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
29 cp -a $_pkg/usr/bin $fs/usr
30 }