wok-4.x view leafpad/receipt @ rev 312
More deps and build-deps for gtk+
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 03 00:15:12 2008 +0100 (2008-03-03) |
parents | 36b1624ef970 |
children | eb4e6a1af180 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.13"
5 CATEGORY="utilities"
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 }