wok-4.x view leafpad/receipt @ rev 153

Add JWM_MENU infos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 19:03:45 2008 +0100 (2008-01-26)
parents 76cf3d1b58ce
children f23d7c05b1d8
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.12"
5 CATEGORY="extra"
6 SHORT_DESC="GTK simple text editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tarot.freeshell.org/leafpad/"
11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
12 JWM_MENU='Productivity:<Program icon="leafpad.png" label="Leafpad">leafpad</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-print \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 strip -s $fs/usr/bin/*
36 }