wok annotate gnome-menus/receipt @ rev 17647
Up: binutils 2.25
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 22:11:20 2015 +0000 (2015-02-14) |
parents | 051931e905b0 |
children | 16df76e1fc6a |
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 |
psychomaniak@17159 | 13 DEPENDS="glib libgio" |
pascal@12590 | 14 BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev" |
psychomaniak@17159 | 15 SUGGESTED="python gamin" |
pascal@11882 | 16 |
pankso@139 | 17 # Rules to configure and make the package. |
pankso@139 | 18 compile_rules() |
pankso@139 | 19 { |
pankso@139 | 20 cd $src |
pankso@139 | 21 ./configure \ |
pankso@139 | 22 --prefix=/usr \ |
pankso@139 | 23 --sysconfdir=/etc \ |
pankso@139 | 24 --mandir=/usr/share/man \ |
pascal@1465 | 25 $CONFIGURE_ARGS && |
pascal@1465 | 26 make && |
pascal@15602 | 27 make DESTDIR=$DESTDIR install |
pankso@139 | 28 } |
pankso@139 | 29 |
pankso@139 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@139 | 31 genpkg_rules() |
pankso@139 | 32 { |
pascal@6594 | 33 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@195 | 34 mkdir -p $fs/usr/lib |
pascal@15603 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15603 | 36 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
pascal@6592 | 37 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a |
pankso@139 | 38 } |
pankso@139 | 39 |