wok annotate gnome-menus/receipt @ rev 6592
remove hard coded python2.5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 09 15:31:15 2010 +0200 (2010-10-09) |
parents | b0bece4caf7e |
children | d0fa681cee8d |
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/" |
slaxemulator@6181 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/2.30/$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@6592 | 30 PYTHON_LIB=$(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 |