wok-next annotate xpad/receipt @ rev 9223
Fix icedtea6; handle multi-sources using some new receipts
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Mar 11 17:58:14 2011 +0100 (2011-03-11) |
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 } |