wok-next annotate glib/receipt @ rev 3268
alsaplayer: Add chinese name and comment to alsaplayer.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:32:22 2009 +0800 (2009-06-02) |
parents | d2a3dbc0687e |
children | f4178be6d372 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="glib" |
pankso@3065 | 4 VERSION="2.20.1" |
pankso@22 | 5 CATEGORY="x-window" |
pankso@22 | 6 SHORT_DESC="C routines." |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2000 | 8 BUILD_DEPENDS="gettext cairo-dev" |
pankso@22 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@22 | 10 WEB_SITE="http://www.gtk.org/" |
pankso@3065 | 11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/glib/2.20/$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@842 | 17 ./configure \ |
pankso@842 | 18 --prefix=/usr \ |
pankso@842 | 19 --sysconfdir=/etc \ |
pankso@842 | 20 --mandir=/usr/share/man \ |
pankso@842 | 21 --with-html-dir=/usr/share/doc \ |
pascal@3077 | 22 --with-libiconv=no \ |
pankso@842 | 23 $CONFIGURE_ARGS |
pankso@842 | 24 make |
pankso@842 | 25 make DESTDIR=$PWD/_pkg install |
pankso@22 | 26 } |
pankso@22 | 27 |
pankso@22 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 29 genpkg_rules() |
pankso@22 | 30 { |
pankso@547 | 31 mkdir -p $fs/usr/lib |
pankso@842 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@842 | 33 # split libgio |
pankso@842 | 34 rm $fs/usr/lib/libgio* |
pascal@1503 | 35 # Cook all packages based on glib |
pascal@1503 | 36 for i in $(cd $WOK; grep -l '^WANTED="glib"$' */receipt) |
pascal@1503 | 37 do |
pascal@1503 | 38 echo tazwok cook ${i%/receipt} |
pascal@1503 | 39 done |
pankso@22 | 40 } |