wok view gnome-menus/receipt @ rev 15026

sylpheed: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 22:07:47 2013 +0000 (2013-08-11)
parents ffe53f9a1b21
children ee5c8b018b62
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-menus"
4 VERSION="2.30.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME menu libs and tools (without desktop files)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
13 DEPENDS="python gamin glib libgio"
14 BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
36 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
37 }