wok annotate leafpad/receipt @ rev 324

Desktop files for nInvaders and bastet games
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 04 14:54:57 2008 +0100 (2008-03-04)
parents 36b1624ef970
children eb4e6a1af180
rev   line source
pankso@42 1 # SliTaz package receipt.
pankso@42 2
pankso@42 3 PACKAGE="leafpad"
pankso@162 4 VERSION="0.8.13"
pankso@201 5 CATEGORY="utilities"
pankso@42 6 SHORT_DESC="GTK simple text editor."
pankso@42 7 MAINTAINER="pankso@slitaz.org"
pankso@42 8 DEPENDS="gtk+"
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"
pascal@153 12 JWM_MENU='Productivity:<Program icon="leafpad.png" label="Leafpad">leafpad</Program>'
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
pankso@57 18 ./configure \
pankso@57 19 --prefix=/usr \
pankso@57 20 --infodir=/usr/share/info \
pankso@57 21 --mandir=/usr/share/man \
pankso@57 22 --disable-print \
pankso@57 23 $CONFIGURE_ARGS
pankso@42 24 make
pankso@42 25 make DESTDIR=$PWD/_pkg 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 {
pankso@163 31 mkdir -p \
pankso@163 32 $fs/usr/share/applications \
pankso@163 33 $fs/usr/share/pixmaps \
pankso@163 34 $fs/usr/share/locale
pankso@42 35 cp -a $_pkg/usr/bin $fs/usr
pankso@42 36 cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
pankso@42 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@42 38 strip -s $fs/usr/bin/*
pankso@162 39 # Freedesktop entry
pankso@162 40 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
pankso@42 41 }