wok-6.x view gnome-menus/receipt @ rev 11939
libwebkit-video: fixed wget filename
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 29 21:28:39 2012 -0800 (2012-02-29) |
parents | ff23003cfd91 |
children | ffe53f9a1b21 |
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"
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 }