wok-current annotate leafpad/receipt @ rev 18413

prboom: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 12:57:15 2015 +0200 (2015-09-20)
parents 88bfe1283cac
children f68aece3ada3
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"
al@17501 12 TAGS="text-editor"
pankso@16248 13 HOST_ARCH="i486 arm"
al@17382 14 GENERIC_PIXMAPS="no"
pankso@42 15
pascal@15000 16 DEPENDS="gtk+ xorg-libXdamage"
pankso@16248 17 BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto"
pascal@15000 18
pankso@42 19 # Rules to configure and make the package.
pankso@42 20 compile_rules()
pankso@42 21 {
pankso@16248 22 chmod +x install-sh
pankso@16248 23 ./configure \
pankso@16248 24 --disable-print \
pankso@16248 25 $CONFIGURE_ARGS &&
al@17382 26 make && make install
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 {
al@17382 32 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
al@17382 33 cp -a $install/usr/bin $fs/usr
al@17382 34 cp -a $install/usr/share/pixmaps/leafpad.png \
al@17382 35 $fs/usr/share/icons/hicolor/48x48/apps
pankso@42 36 }