wok annotate leafpad/receipt @ rev 57
Disable print in leafpad (avoid deps on libgnomeprint)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Dec 22 18:40:51 2007 +0100 (2007-12-22) |
parents | 8e742fadbc43 |
children | 4959e5789caa |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="leafpad" |
pankso@42 | 4 VERSION="0.8.12" |
pankso@42 | 5 CATEGORY="extra" |
pankso@42 | 6 SHORT_DESC="GTK simple text editor." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@42 | 8 DEPENDS="gtk+" |
pankso@42 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@42 | 10 WEB_SITE="http://tarot.freeshell.org/leafpad/" |
pankso@42 | 11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" |
pankso@42 | 12 |
pankso@42 | 13 # Rules to configure and make the package. |
pankso@42 | 14 compile_rules() |
pankso@42 | 15 { |
pankso@42 | 16 cd $src |
pankso@57 | 17 ./configure \ |
pankso@57 | 18 --prefix=/usr \ |
pankso@57 | 19 --infodir=/usr/share/info \ |
pankso@57 | 20 --mandir=/usr/share/man \ |
pankso@57 | 21 --disable-print \ |
pankso@57 | 22 $CONFIGURE_ARGS |
pankso@42 | 23 make |
pankso@42 | 24 make DESTDIR=$PWD/_pkg install |
pankso@42 | 25 } |
pankso@42 | 26 |
pankso@42 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 28 genpkg_rules() |
pankso@42 | 29 { |
pankso@42 | 30 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale |
pankso@42 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@42 | 32 cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps |
pankso@42 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@42 | 34 strip -s $fs/usr/bin/* |
pankso@42 | 35 } |