wok view glib/receipt @ rev 15227
libidn: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 22 18:14:35 2013 +0200 (2013-09-22) |
parents | 380ffe05937a |
children | fd22b033a84a |
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"
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 }