wok annotate gnome-menus/receipt @ rev 16848

netsurf: rm # on sed
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 13 01:46:21 2014 +0300 (2014-07-13)
parents ee5c8b018b62
children f4afbc468065
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@15000 8 LICENSE="GPL2"
pankso@139 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@139 10 WEB_SITE="http://www.gnome.org/"
pascal@6594 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
pankso@195 12
pascal@11882 13 DEPENDS="python gamin glib libgio"
pascal@12590 14 BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev"
pascal@11882 15
pankso@139 16 # Rules to configure and make the package.
pankso@139 17 compile_rules()
pankso@139 18 {
pankso@139 19 cd $src
pankso@139 20 ./configure \
pankso@139 21 --prefix=/usr \
pankso@139 22 --sysconfdir=/etc \
pankso@139 23 --mandir=/usr/share/man \
pascal@1465 24 $CONFIGURE_ARGS &&
pascal@1465 25 make &&
pascal@15602 26 make DESTDIR=$DESTDIR install
pankso@139 27 }
pankso@139 28
pankso@139 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@139 30 genpkg_rules()
pankso@139 31 {
pascal@6594 32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@195 33 mkdir -p $fs/usr/lib
pascal@15603 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15603 35 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
pascal@6592 36 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
pankso@139 37 }
pankso@139 38