wok view leafpad/receipt @ rev 431
UP: tazusb (1.2.1) minor fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 13 22:20:52 2008 +0100 (2008-03-13) |
parents | 219f2b20380f |
children | 3c145e41b8eb |
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --disable-print \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p \
31 $fs/usr/share/applications \
32 $fs/usr/share/pixmaps \
33 $fs/usr/share/locale
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
37 strip -s $fs/usr/bin/*
38 # Freedesktop entry
39 cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
40 }