wok-current view gnome-menus/receipt @ rev 14274
njconnect - source file is now fixed on upstream level ;-)
author | Pawel P. <xj@wp.pl> |
---|---|
date | Fri Apr 05 12:14:08 2013 +0000 (2013-04-05) |
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 }