wok-6.x view glib/receipt @ rev 10730

slitaz-mercurial-style: fix TARBALL
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 29 04:12:19 2011 +0200 (2011-05-29)
parents f6134dc94a31
children e031e3416303
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.28.6"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="gettext zlib-dev pkg-config perl python python-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # Fails on cross compile: use native i468 --build toolchain.
18 ./configure --sysconfdir=/etc \
19 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 # split libgio
29 rm $fs/usr/lib/libgio*
30 }