wok annotate gnome-menus/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 d0fa681cee8d
children c0bac1d2b5e8
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"
gokhlayeh@8684 8 DEPENDS="python gamin glib libgio"
gokhlayeh@8684 9 BUILD_DEPENDS="intltool"
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