wok-6.x annotate gnome-menus/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | f4afbc468065 |
children | 86790a278e70 |
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 ./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 } |