wok-next view gnome-menus/receipt @ rev 17629
Up qemu (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 14 09:16:43 2015 +0100 (2015-02-14) |
parents | 051931e905b0 |
children | 16df76e1fc6a |
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="glib libgio"
14 BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev"
15 SUGGESTED="python gamin"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
37 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
38 }