wok annotate xpad/receipt @ rev 9536
Up: tazpkg (4.6.1) - Bug fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 08 18:42:01 2011 +0200 (2011-04-08) |
parents | a3ce54180620 |
children | 3da3b86c2dc9 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="xpad" |
pankso@2005 | 4 VERSION="3.0" |
pankso@179 | 5 CATEGORY="utilities" |
pankso@41 | 6 SHORT_DESC="Desktop note pad using GTK+ toolkit." |
pankso@41 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8959 | 8 DEPENDS="gtk+ xorg-libXdamage xorg-libSM" |
slaxemulator@8959 | 9 BUILD_DEPENDS="pkg-config" |
pankso@41 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@41 | 11 WEB_SITE="http://xpad.sourceforge.net/" |
pankso@2005 | 12 WGET_URL="http://launchpad.net/xpad/stable/3.0/+download/$TARBALL" |
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@554 | 19 ./configure \ |
pankso@554 | 20 --prefix=/usr \ |
pankso@554 | 21 --mandir=/usr/share/man \ |
pascal@1460 | 22 $CONFIGURE_ARGS && |
pascal@1460 | 23 make && |
pankso@41 | 24 make DESTDIR=$PWD/_pkg install |
pankso@41 | 25 } |
pankso@41 | 26 |
pankso@41 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 28 genpkg_rules() |
pankso@41 | 29 { |
pascal@2289 | 30 mkdir -p $fs/usr/share/pixmaps |
pankso@41 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@2289 | 32 cp stuff/xpad.png $fs/usr/share/pixmaps |
pankso@41 | 33 } |