wok-next annotate glib/receipt @ rev 9780

clex: update to fix WGET_URL (my favorite text mode fm)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 23:06:47 2011 +0200 (2011-05-11)
parents dbee7d9a3ad7
children f6134dc94a31
rev   line source
pascal@6023 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib"
slaxemulator@9493 4 VERSION="2.28.5"
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
slaxemulator@9510 17 ./configure --sysconfdir=/etc && make && make install
pankso@22 18 }
pankso@22 19
pankso@22 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 21 genpkg_rules()
pankso@22 22 {
pankso@547 23 mkdir -p $fs/usr/lib
pankso@842 24 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@842 25 # split libgio
pankso@842 26 rm $fs/usr/lib/libgio*
pankso@22 27 }