wok-stable annotate glib/receipt @ rev 10825
Up python-pytz (2011g)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 06 21:49:27 2011 +0200 (2011-06-06) |
parents | 4c79e8be0e14 |
children | 268a913ee3ae |
rev | line source |
---|---|
pascal@6023 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="glib" |
slaxemulator@10804 | 4 VERSION="2.28.7" |
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@9493 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@22 | 11 |
slaxemulator@10804 | 12 DEPENDS="" |
slaxemulator@10804 | 13 BUILD_DEPENDS="gettext zlib-dev pkg-config 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 |
pankso@842 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 30 # split libgio |
pankso@842 | 31 rm $fs/usr/lib/libgio* |
pankso@22 | 32 } |