wok-6.x annotate leafpad/receipt @ rev 15344
mplayerplug-in: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 15:54:42 2013 +0000 (2013-09-29) |
parents | 705fe5fc7554 |
children | 128aae84d74c |
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@15000 | 8 LICENSE="GPL2" |
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 |
pascal@15000 | 13 DEPENDS="gtk+ xorg-libXdamage" |
pascal@15000 | 14 BUILD_DEPENDS="pkg-config gtk+-dev xorg-libXrender-dev xorg-xproto intltool" |
pascal@15000 | 15 |
pankso@42 | 16 # Rules to configure and make the package. |
pankso@42 | 17 compile_rules() |
pankso@42 | 18 { |
pankso@42 | 19 cd $src |
gokhlayeh@7976 | 20 chmod +x install-sh |
pankso@57 | 21 ./configure \ |
pankso@57 | 22 --prefix=/usr \ |
pankso@57 | 23 --infodir=/usr/share/info \ |
pankso@57 | 24 --mandir=/usr/share/man \ |
pankso@57 | 25 --disable-print \ |
pascal@1460 | 26 $CONFIGURE_ARGS && |
pascal@1460 | 27 make && |
slaxemulator@11643 | 28 make DESTDIR=$DESTDIR install && |
pankso@462 | 29 # no xpm (5 ko) |
gokhlayeh@12127 | 30 rm $DESTDIR/usr/share/pixmaps/*.xpm |
pankso@42 | 31 } |
pankso@42 | 32 |
pankso@42 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 34 genpkg_rules() |
pankso@42 | 35 { |
slaxemulator@11643 | 36 mkdir -p $fs/usr |
pascal@15000 | 37 cp -a $install/usr/bin $fs/usr |
pankso@42 | 38 } |