wok-6.x annotate xpad/receipt @ rev 12300
linux: do not create /tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 16 13:24:39 2012 +0200 (2012-04-16) |
parents | aec4d53d6181 |
children | eceda27fe4a8 |
rev | line source |
---|---|
pankso@41 | 1 # SliTaz package receipt. |
pankso@41 | 2 |
pankso@41 | 3 PACKAGE="xpad" |
slaxemulator@11130 | 4 VERSION="4.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" |
gokhlayeh@11444 | 9 BUILD_DEPENDS="pkg-config intltool" |
pankso@41 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@41 | 11 WEB_SITE="http://xpad.sourceforge.net/" |
slaxemulator@11130 | 12 WGET_URL="http://launchpad.net/xpad/trunk/4.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 |
slaxemulator@10046 | 19 ./configure $CONFIGURE_ARGS && |
slaxemulator@10046 | 20 make && make install |
pankso@41 | 21 } |
pankso@41 | 22 |
pankso@41 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@41 | 24 genpkg_rules() |
pankso@41 | 25 { |
slaxemulator@9727 | 26 mkdir -p $fs/usr |
pankso@41 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@41 | 28 } |