wok-current annotate xpad/receipt @ rev 4503

slitaz-loram*: extract by default
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 22 12:40:18 2009 +0100 (2009-11-22)
parents d298823746d9
children a3ce54180620
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"
pascal@2528 8 DEPENDS="gtk+ xorg-libXdamage"
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 }