wok-next annotate leafpad/receipt @ rev 14443
Up midori (0.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 26 15:15:40 2013 +0200 (2013-04-26) |
parents | 92fad3dbcae4 |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="leafpad" |
slaxemulator@7807 | 4 VERSION="0.8.18.1" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@42 | 6 SHORT_DESC="GTK simple text editor." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2518 | 8 DEPENDS="gtk+ xorg-libXdamage" |
gokhlayeh@7976 | 9 BUILD_DEPENDS="pkg-config gtk+-dev xorg-libXrender-dev xorg-xproto intltool" |
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 |
gokhlayeh@7976 | 18 chmod +x install-sh |
pankso@57 | 19 ./configure \ |
pankso@57 | 20 --prefix=/usr \ |
pankso@57 | 21 --infodir=/usr/share/info \ |
pankso@57 | 22 --mandir=/usr/share/man \ |
pankso@57 | 23 --disable-print \ |
pascal@1460 | 24 $CONFIGURE_ARGS && |
pascal@1460 | 25 make && |
slaxemulator@11643 | 26 make DESTDIR=$DESTDIR install && |
pankso@462 | 27 # no xpm (5 ko) |
gokhlayeh@12127 | 28 rm $DESTDIR/usr/share/pixmaps/*.xpm |
pankso@42 | 29 } |
pankso@42 | 30 |
pankso@42 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 32 genpkg_rules() |
pankso@42 | 33 { |
slaxemulator@11643 | 34 mkdir -p $fs/usr |
pankso@42 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@42 | 36 } |