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