wok-4.x annotate xpad/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 | 6805779fbeec |
children | 4e795cf8f4ce |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="xpad" |
pankso@41 | 4 VERSION="2.12" |
pankso@41 | 5 CATEGORY="extra" |
pankso@41 | 6 SHORT_DESC="Desktop note pad using GTK+ toolkit." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@41 | 8 DEPENDS="gtk+" |
pankso@41 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@41 | 10 WEB_SITE="http://xpad.sourceforge.net/" |
pankso@41 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@153 | 12 JWM_MENU='Utilities:<Program icon="xpad.png" label="Xpad">xpad</Program>' |
pankso@41 | 13 |
pankso@41 | 14 # Rules to configure and make the package. |
pankso@41 | 15 compile_rules() |
pankso@41 | 16 { |
pankso@41 | 17 cd $src |
pankso@41 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@41 | 19 $CONFIGURE_ARGS |
pankso@41 | 20 make |
pankso@41 | 21 make DESTDIR=$PWD/_pkg install |
pankso@41 | 22 } |
pankso@41 | 23 |
pankso@41 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 25 genpkg_rules() |
pankso@41 | 26 { |
pankso@41 | 27 mkdir -p $fs/usr/share/locale/fr |
pankso@41 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@41 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@41 | 30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@41 | 31 strip -s $fs/usr/bin/* |
pankso@41 | 32 } |