wok-current view leafpad/receipt @ rev 162
UP : leafpad (0.8.13) + add leafpad.desktop
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 28 20:33:51 2008 +0100 (2008-01-28) |
parents | 4959e5789caa |
children | 36b1624ef970 |
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 $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 # Freedesktop entry
37 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
38 }