wok-current view libplist/receipt @ rev 18086

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents 677aeabc6609
children de36eccd040d
line source
1 # SliTaz package receipt.
3 PACKAGE="libplist"
4 VERSION="1.4"
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libimobiledevice.org/"
11 WGET_URL="http://www.libimobiledevice.org/downloads/$TARBALL"
13 DEPENDS="glib libxml2"
14 BUILD_DEPENDS="libxml2-dev glib-dev cmake swig python python-dev "
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir build
21 cd build
22 cmake ../ -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
31 cp -a $install/usr/lib/python* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 }