wok-4.x view leafpad/receipt @ rev 5234
dhcp: add init script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 08 17:22:33 2010 +0200 (2010-04-08) |
parents | 2e55de4816a6 |
children | 97c7337c1d54 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.17"
5 CATEGORY="utilities"
6 SHORT_DESC="GTK simple text editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
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 }