wok-next view gnome-menus/receipt @ rev 16693
slitaz-icon: workaround tarball
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 05:21:33 2014 +0300 (2014-05-23) |
parents | ee5c8b018b62 |
children | f4afbc468065 |
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=$DESTDIR 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 $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
36 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
37 }