wok view glib/receipt @ rev 15934
Up: libdbusmenu-qt (0.9.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 11:26:33 2014 +0100 (2014-02-22) |
parents | e3944c37af3a |
children | b9ec43882bea |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.32.4"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
13 DEPENDS="pcre libffi libxml2 elfutils"
14 BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python python-dev \
15 elfutils-dev libxml2-dev libxml2-tools automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --sysconfdir=/etc \
22 --with-pcre=system \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 # Split gio --> libgio
35 rm $fs/usr/lib/libgio*
37 # Python codegen, tester, Perl mkenums --> glib-dev
38 for bin in gdbus-codegen gtester* glib-mkenums
39 do
40 rm $fs/usr/bin/$bin
41 done
43 # Cook packages that want glib.
44 for w in libgio libgio-dev
45 do
46 [ -x "/usr/bin/cook" ] && echo cook $w
47 done
48 }