wok-4.x view leafpad/receipt @ rev 1741

Add ntp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 22 17:46:29 2008 +0000 (2008-11-22)
parents 0c1406e714da
children 8fe3a20abf1a
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.15"
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 }