wok view gnome-menus/receipt @ rev 8221

imported patch cleanup_inprogress/slitaz-i18n.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 5921dc28d8c6
children ff23003cfd91
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 DEPENDS="python gamin glib"
9 BUILD_DEPENDS="perl perl-xml-parser python-dev glib glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
34 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
35 }