wok annotate gnome-menus/receipt @ rev 139

Add gnome-menus for e17 menu
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 16 19:32:54 2008 +0100 (2008-01-16)
parents
children f49831d39cd3
rev   line source
pankso@139 1 # SliTaz package receipt.
pankso@139 2
pankso@139 3 PACKAGE="gnome-menus"
pankso@139 4 VERSION="2.18.3"
pankso@139 5 CATEGORY="extra"
pankso@139 6 SHORT_DESC="GNOME menu used by e17."
pankso@139 7 MAINTAINER="pankso@slitaz.org"
pankso@139 8 DEPENDS="python"
pankso@139 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@139 10 WEB_SITE="http://www.gnome.org/"
pankso@139 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/2.18/$VERSION/sources/$TARBALL"
pankso@139 12 # Rules to configure and make the package.
pankso@139 13 compile_rules()
pankso@139 14 {
pankso@139 15 cd $src
pankso@139 16 ./configure \
pankso@139 17 --prefix=/usr \
pankso@139 18 --sysconfdir=/etc \
pankso@139 19 --mandir=/usr/share/man \
pankso@139 20 $CONFIGURE_ARGS
pankso@139 21 make
pankso@139 22 make DESTDIR=$PWD/_pkg install
pankso@139 23 }
pankso@139 24
pankso@139 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@139 26 genpkg_rules()
pankso@139 27 {
pankso@139 28 mkdir -p $fs/usr/lib $fs/usr/share/locale $fs/usr/share/applications
pankso@139 29
pankso@139 30 # gmenu-simple-editor dep on pyGTK.
pankso@139 31 #cp -a $_pkg/usr/bin $fs/usr
pankso@139 32 #cp -a $_pkg/usr/share/applications $fs/usr/share
pankso@139 33 #cp -a $_pkg/usr/share/gnome-menus $fs/usr/share
pankso@139 34
pankso@139 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@139 36 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
pankso@139 37 rm $fs/usr/lib/python2.5/site-packages/*.*a
pankso@139 38
pankso@139 39 cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
pankso@139 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@139 41 cp -a $_pkg/etc $fs
pankso@139 42
pankso@139 43 strip -s $fs/usr/lib/*.so*
pankso@139 44 }
pankso@139 45