wok-next annotate leafpad/receipt @ rev 1883
aufs-module: fix WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 17 14:47:20 2008 +0000 (2008-12-17) |
parents | 0c1406e714da |
children | 8fe3a20abf1a |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="leafpad" |
erjo@1391 | 4 VERSION="0.8.15" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@42 | 6 SHORT_DESC="GTK simple text editor." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@42 | 8 DEPENDS="gtk+" |
pascal@1460 | 9 BUILD_DEPENDS="pkg-config gtk+-dev xorg-libXrender-dev xorg-xproto" |
pankso@42 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@42 | 11 WEB_SITE="http://tarot.freeshell.org/leafpad/" |
pankso@42 | 12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" |
pankso@42 | 13 |
pankso@42 | 14 # Rules to configure and make the package. |
pankso@42 | 15 compile_rules() |
pankso@42 | 16 { |
pankso@42 | 17 cd $src |
pankso@57 | 18 ./configure \ |
pankso@57 | 19 --prefix=/usr \ |
pankso@57 | 20 --infodir=/usr/share/info \ |
pankso@57 | 21 --mandir=/usr/share/man \ |
pankso@57 | 22 --disable-print \ |
pascal@1460 | 23 $CONFIGURE_ARGS && |
pascal@1460 | 24 make && |
pascal@1460 | 25 make DESTDIR=$PWD/_pkg install && |
pankso@462 | 26 # no xpm (5 ko) |
pankso@462 | 27 rm _pkg/usr/share/pixmaps/*.xpm |
pankso@42 | 28 } |
pankso@42 | 29 |
pankso@42 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 31 genpkg_rules() |
pankso@42 | 32 { |
pankso@462 | 33 mkdir -p $fs/usr |
pankso@42 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@42 | 35 } |