wok-current annotate emelfm2/receipt @ rev 153
Add JWM_MENU infos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 19:03:45 2008 +0100 (2008-01-26) |
parents | 6ae509488fc6 |
children | 4615573735e2 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="emelfm2" |
pankso@46 | 4 VERSION="0.3.6" |
pankso@46 | 5 CATEGORY="extra" |
pankso@46 | 6 SHORT_DESC="GTK powerfull file manager." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@46 | 8 DEPENDS="gtk+" |
pankso@46 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 10 WEB_SITE="http://emelfm2.net/" |
pankso@46 | 11 WGET_URL="http://emelfm2.net/rel/$TARBALL" |
pascal@153 | 12 JWM_MENU='Utilities:<Program icon="emelfm2/emelfm2_48.png" label="emelFM2">emelfm2 --trash=$HOME/.Trash</Program>' |
pankso@46 | 13 |
pankso@46 | 14 # Rules to configure and make the package. |
pankso@46 | 15 compile_rules() |
pankso@46 | 16 { |
pankso@46 | 17 cd $src |
pankso@46 | 18 make PREFIX=/usr |
pankso@46 | 19 make i18n PREFIX=/usr |
pankso@46 | 20 make install PREFIX=$PWD/_pkg/usr |
pankso@46 | 21 make install_i18n PREFIX=$PWD/_pkg/usr |
pankso@46 | 22 } |
pankso@46 | 23 |
pankso@46 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 25 genpkg_rules() |
pankso@46 | 26 { |
pankso@46 | 27 mkdir -p $fs/usr/share/locale |
pankso@46 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@46 | 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@46 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@46 | 32 strip -s $fs/usr/bin/* |
pankso@46 | 33 strip -s $fs/usr/lib/emelfm2/plugins/* |
pankso@46 | 34 } |