wok view leafpad/receipt @ rev 175
Adding SHORT_DESC
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Feb 01 22:04:04 2008 +0100 (2008-02-01) |
parents | f23d7c05b1d8 |
children | 219f2b20380f |
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.13"
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 \
32 $fs/usr/share/applications \
33 $fs/usr/share/pixmaps \
34 $fs/usr/share/locale
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 strip -s $fs/usr/bin/*
39 # Freedesktop entry
40 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
41 }