wok-next annotate xpad/receipt @ rev 88

Add : xf86* proto + libs
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 02 22:25:26 2008 +0100 (2008-01-02)
parents
children 4959e5789caa
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="xpad"
pankso@41 4 VERSION="2.12"
pankso@41 5 CATEGORY="extra"
pankso@41 6 SHORT_DESC="Desktop note pad using GTK+ toolkit."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pankso@41 8 DEPENDS="gtk+"
pankso@41 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@41 10 WEB_SITE="http://xpad.sourceforge.net/"
pankso@41 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 12
pankso@41 13 # Rules to configure and make the package.
pankso@41 14 compile_rules()
pankso@41 15 {
pankso@41 16 cd $src
pankso@41 17 ./configure --prefix=/usr --mandir=/usr/share/man \
pankso@41 18 $CONFIGURE_ARGS
pankso@41 19 make
pankso@41 20 make DESTDIR=$PWD/_pkg 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 {
pankso@41 26 mkdir -p $fs/usr/share/locale/fr
pankso@41 27 cp -a $_pkg/usr/bin $fs/usr
pankso@41 28 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@41 29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@41 30 strip -s $fs/usr/bin/*
pankso@41 31 }