wok annotate leafpad/receipt @ rev 17250
libarchive-dev: update genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 12:29:39 2014 +0200 (2014-10-19) |
parents | 380ffe05937a |
children | 88bfe1283cac |
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@16248 | 12 HOST_ARCH="i486 arm" |
pankso@42 | 13 |
pascal@15000 | 14 DEPENDS="gtk+ xorg-libXdamage" |
pankso@16248 | 15 BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto" |
pascal@15000 | 16 |
pankso@42 | 17 # Rules to configure and make the package. |
pankso@42 | 18 compile_rules() |
pankso@42 | 19 { |
pankso@16248 | 20 chmod +x install-sh |
pankso@16248 | 21 ./configure \ |
pankso@16248 | 22 --disable-print \ |
pankso@16248 | 23 $CONFIGURE_ARGS && |
pankso@16248 | 24 make && make install && |
pankso@16248 | 25 # no xpm (5 ko) |
pankso@16248 | 26 rm $DESTDIR/usr/share/pixmaps/*.xpm |
pankso@42 | 27 } |
pankso@42 | 28 |
pankso@42 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 30 genpkg_rules() |
pankso@42 | 31 { |
slaxemulator@11643 | 32 mkdir -p $fs/usr |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
pankso@42 | 34 } |