wok-6.x annotate glib/receipt @ rev 10497

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