wok-current annotate glib/receipt @ rev 12308

jwm,razor-qt,slim: fix sessions
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 17 12:29:55 2012 +0200 (2012-04-17)
parents 434fb8bd5c7d
children bf0fdda3038d
rev   line source
pascal@6023 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib"
slaxemulator@11626 4 VERSION="2.30.2"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="C routines."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@22 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@22 9 WEB_SITE="http://www.gtk.org/"
slaxemulator@10985 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pankso@22 11
slaxemulator@10985 12 DEPENDS="libffi"
slaxemulator@10985 13 BUILD_DEPENDS="libffi-dev gettext zlib-dev perl python python-dev"
slaxemulator@10804 14
pankso@22 15 # Rules to configure and make the package.
pankso@22 16 compile_rules()
pankso@22 17 {
pankso@842 18 cd $src
pankso@10286 19 # Fails on cross compile: use native i468 --build toolchain.
slaxemulator@10245 20 ./configure --sysconfdir=/etc \
pankso@10286 21 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
slaxemulator@10245 22 make && make install
pankso@22 23 }
pankso@22 24
pankso@22 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 26 genpkg_rules()
pankso@22 27 {
pankso@547 28 mkdir -p $fs/usr/lib
slaxemulator@11626 29 cp -a $install/usr/bin $fs/usr
slaxemulator@10985 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@842 31 # split libgio
pankso@842 32 rm $fs/usr/lib/libgio*
pankso@22 33 }