wok-next annotate glib/receipt @ rev 13324

libhangul: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 03 09:39:24 2012 +0200 (2012-09-03)
parents bf0fdda3038d
children cd7acab4c6fc
rev   line source
pascal@6023 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="glib"
pankso@12471 4 VERSION="2.32.1"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="C routines."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@12471 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@22 9 WEB_SITE="http://www.gtk.org/"
slaxemulator@10985 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pankso@22 11
pankso@12471 12 DEPENDS="pcre libffi libxml2 elfutils"
pankso@12471 13 BUILD_DEPENDS="pcre-dev libffi-dev gettext zlib-dev perl python python-dev \
pankso@12471 14 elfutils-dev libxml2-dev libxml2-tools"
slaxemulator@10804 15
pankso@22 16 # Rules to configure and make the package.
pankso@22 17 compile_rules()
pankso@22 18 {
pankso@842 19 cd $src
slaxemulator@10245 20 ./configure --sysconfdir=/etc \
pankso@12471 21 --with-pcre=system \
pankso@12471 22 $CONFIGURE_ARGS &&
slaxemulator@10245 23 make && make install
pankso@22 24 }
pankso@22 25
pankso@22 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 27 genpkg_rules()
pankso@22 28 {
pankso@547 29 mkdir -p $fs/usr/lib
slaxemulator@11626 30 cp -a $install/usr/bin $fs/usr
slaxemulator@10985 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12471 32
pankso@12471 33 # Split gio --> libgio
pankso@842 34 rm $fs/usr/lib/libgio*
pankso@12471 35
slaxemulator@12597 36 # Python codegen, tester, Perl mkenums --> glib-dev
slaxemulator@12597 37 for bin in gdbus-codegen gtester* glib-mkenums
pankso@12471 38 do
pankso@12471 39 rm $fs/usr/bin/$bin
pankso@12471 40 done
pankso@12471 41
pankso@12471 42 # Cook packages that want glib.
pankso@12471 43 for w in libgio libgio-dev
pankso@12471 44 do
pankso@12471 45 [ -x "/usr/bin/cook" ] && cook $w
pankso@12471 46 done
pankso@22 47 }