wok-next annotate xpad/receipt @ rev 2289
xpad: restore xpad.png
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 22 08:37:13 2009 +0000 (2009-02-22) |
parents | 95bbb3fdeed9 |
children | 422f5813b998 |
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" |
pankso@41 | 8 DEPENDS="gtk+" |
pascal@1460 | 9 BUILD_DEPENDS="pkg-config gtk+" |
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 } |