wok-stable annotate gnome-menus/receipt @ rev 7898
bash: update patches
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 14:11:12 2011 +0100 (2011-01-09) |
parents | 5921dc28d8c6 |
children | ff23003cfd91 |
rev | line source |
---|---|
pankso@139 | 1 # SliTaz package receipt. |
pankso@139 | 2 |
pankso@139 | 3 PACKAGE="gnome-menus" |
slaxemulator@6181 | 4 VERSION="2.30.2" |
pankso@195 | 5 CATEGORY="x-window" |
pankso@195 | 6 SHORT_DESC="GNOME menu libs and tools (without desktop files)." |
pankso@139 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2484 | 8 DEPENDS="python gamin glib" |
slaxemulator@6181 | 9 BUILD_DEPENDS="perl perl-xml-parser python-dev glib glib-dev" |
pankso@139 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@139 | 11 WEB_SITE="http://www.gnome.org/" |
pascal@6594 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL" |
pankso@195 | 13 |
pankso@139 | 14 # Rules to configure and make the package. |
pankso@139 | 15 compile_rules() |
pankso@139 | 16 { |
pankso@139 | 17 cd $src |
pankso@139 | 18 ./configure \ |
pankso@139 | 19 --prefix=/usr \ |
pankso@139 | 20 --sysconfdir=/etc \ |
pankso@139 | 21 --mandir=/usr/share/man \ |
pascal@1465 | 22 $CONFIGURE_ARGS && |
pascal@1465 | 23 make && |
pankso@139 | 24 make DESTDIR=$PWD/_pkg install |
pankso@139 | 25 } |
pankso@139 | 26 |
pankso@139 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@139 | 28 genpkg_rules() |
pankso@139 | 29 { |
pascal@6594 | 30 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@195 | 31 mkdir -p $fs/usr/lib |
pankso@139 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@6592 | 33 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib |
pascal@6592 | 34 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a |
pankso@139 | 35 } |
pankso@139 | 36 |