wok-4.x view leafpad/receipt @ rev 57
Disable print in leafpad (avoid deps on libgnomeprint)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Dec 22 18:40:51 2007 +0100 (2007-12-22) |
parents | 8e742fadbc43 |
children | 4959e5789caa |
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"
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 $fs/usr/share/pixmaps $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 strip -s $fs/usr/bin/*
35 }