wok-current annotate xpad/receipt @ rev 179
Xpad receipt cleaned (generic files are automaticly copied now)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 02 13:25:56 2008 +0100 (2008-02-02) |
parents | 4959e5789caa |
children | eb4e6a1af180 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="xpad" |
pankso@41 | 4 VERSION="2.12" |
pankso@179 | 5 CATEGORY="utilities" |
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@179 | 13 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/utilities.html#xpad' |
pankso@41 | 14 |
pankso@41 | 15 # Rules to configure and make the package. |
pankso@41 | 16 compile_rules() |
pankso@41 | 17 { |
pankso@41 | 18 cd $src |
pankso@41 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@41 | 20 $CONFIGURE_ARGS |
pankso@41 | 21 make |
pankso@41 | 22 make DESTDIR=$PWD/_pkg install |
pankso@41 | 23 } |
pankso@41 | 24 |
pankso@41 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 26 genpkg_rules() |
pankso@41 | 27 { |
pankso@179 | 28 mkdir -p $fs/usr |
pankso@41 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@41 | 30 strip -s $fs/usr/bin/* |
pankso@41 | 31 } |