wok-6.x view gnome-menus/receipt @ rev 12749

ziproxy: update mod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 09 23:20:27 2012 +0200 (2012-05-09)
parents c0bac1d2b5e8
children 380ffe05937a
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
12 DEPENDS="python gamin glib libgio"
13 BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
35 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
36 }