wok view leafpad/receipt @ rev 4003

linux: ensure linux-source will have patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 31 17:17:44 2009 +0200 (2009-08-31)
parents 8fe3a20abf1a
children bff5188ad747
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+ 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 }