wok-stable view leafpad/receipt @ rev 2151

Add punjab
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 05 17:06:51 2009 +0000 (2009-02-05)
parents f08ead2d5191
children 2e55de4816a6
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.16"
5 CATEGORY="utilities"
6 SHORT_DESC="GTK simple text editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="pkg-config gtk+-dev xorg-libXrender-dev xorg-xproto"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://tarot.freeshell.org/leafpad/"
12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
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 # no xpm (5 ko)
27 rm _pkg/usr/share/pixmaps/*.xpm
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 }