wok-6.x annotate leafpad/receipt @ rev 17448
Add Qcad 2D CAD application
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Dec 14 10:13:18 2014 +0100 (2014-12-14) |
parents | 128aae84d74c |
children | 5d53e8ccbc8d |
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" |
al@17382 | 13 GENERIC_PIXMAPS="no" |
pankso@42 | 14 |
pascal@15000 | 15 DEPENDS="gtk+ xorg-libXdamage" |
pankso@16248 | 16 BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto" |
pascal@15000 | 17 |
pankso@42 | 18 # Rules to configure and make the package. |
pankso@42 | 19 compile_rules() |
pankso@42 | 20 { |
pankso@16248 | 21 chmod +x install-sh |
pankso@16248 | 22 ./configure \ |
pankso@16248 | 23 --disable-print \ |
pankso@16248 | 24 $CONFIGURE_ARGS && |
al@17382 | 25 make && make install |
pankso@42 | 26 } |
pankso@42 | 27 |
pankso@42 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 29 genpkg_rules() |
pankso@42 | 30 { |
al@17382 | 31 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps |
al@17382 | 32 cp -a $install/usr/bin $fs/usr |
al@17382 | 33 cp -a $install/usr/share/pixmaps/leafpad.png \ |
al@17382 | 34 $fs/usr/share/icons/hicolor/48x48/apps |
pankso@42 | 35 } |