wok-next annotate gnome-menus/receipt @ rev 11942

gecko-mediaplayer up 1.0.3 to resolve cooker error
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Feb 29 22:00:25 2012 -0800 (2012-02-29)
parents ff23003cfd91
children ffe53f9a1b21
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"
pankso@139 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@139 9 WEB_SITE="http://www.gnome.org/"
pascal@6594 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
pankso@195 11
pascal@11882 12 DEPENDS="python gamin glib libgio"
pascal@11882 13 BUILD_DEPENDS="intltool python-dev python"
pascal@11882 14
pankso@139 15 # Rules to configure and make the package.
pankso@139 16 compile_rules()
pankso@139 17 {
pankso@139 18 cd $src
pankso@139 19 ./configure \
pankso@139 20 --prefix=/usr \
pankso@139 21 --sysconfdir=/etc \
pankso@139 22 --mandir=/usr/share/man \
pascal@1465 23 $CONFIGURE_ARGS &&
pascal@1465 24 make &&
pankso@139 25 make DESTDIR=$PWD/_pkg install
pankso@139 26 }
pankso@139 27
pankso@139 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@139 29 genpkg_rules()
pankso@139 30 {
pascal@6594 31 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@195 32 mkdir -p $fs/usr/lib
pankso@139 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@6592 34 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
pascal@6592 35 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
pankso@139 36 }
pankso@139 37