wok-next view libplist/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 086841d75237 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libplist"
4 VERSION="2.0.0"
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 swig python python-dev python-cython"
15 SPLIT="libplist-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 libplist)
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib/
32 cp -a $install/usr/lib/python* $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 ;;
35 libplist-dev)
36 DEPENDS="libplist pkg-config"
37 mkdir -p $fs/usr/lib
38 cp -ar $install/usr/include $fs/usr
39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
40 ;;
41 esac
42 }