wok-4.x view xpad/receipt @ rev 4229

partimage*, fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 12:41:52 2009 +0000 (2009-09-24)
parents d298823746d9
children a3ce54180620
line source
1 # SliTaz package receipt.
3 PACKAGE="xpad"
4 VERSION="3.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Desktop note pad using GTK+ toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="pkg-config gtk+"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://xpad.sourceforge.net/"
12 WGET_URL="http://launchpad.net/xpad/stable/3.0/+download/$TARBALL"
13 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/utilities.html#xpad'
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp stuff/xpad.png $fs/usr/share/pixmaps
33 }