wok view glib/receipt @ rev 12597
glib: Make sure glib-compile-schemas is in glib not glib-dev. Needed for evince and smplayer to work.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 28 21:51:35 2012 +0000 (2012-04-28) |
parents | bf0fdda3038d |
children | cd7acab4c6fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.32.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.gtk.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 DEPENDS="pcre libffi libxml2 elfutils"
13 BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python python-dev \
14 elfutils-dev libxml2-dev libxml2-tools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --sysconfdir=/etc \
21 --with-pcre=system \
22 $CONFIGURE_ARGS &&
23 make && make 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/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # Split gio --> libgio
34 rm $fs/usr/lib/libgio*
36 # Python codegen, tester, Perl mkenums --> glib-dev
37 for bin in gdbus-codegen gtester* glib-mkenums
38 do
39 rm $fs/usr/bin/$bin
40 done
42 # Cook packages that want glib.
43 for w in libgio libgio-dev
44 do
45 [ -x "/usr/bin/cook" ] && cook $w
46 done
47 }