wok-stable view leafpad/receipt @ rev 9761

libtaz: FIX tarball name (was taz.bz2) but cool you use by default bz2
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 15:20:58 2011 +0200 (2011-05-11)
parents c3596312e06a
children 7fb09aed8649
line source
1 # SliTaz package receipt.
3 PACKAGE="leafpad"
4 VERSION="0.8.18.1"
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 intltool"
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 chmod +x install-sh
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --disable-print \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install &&
27 # no xpm (5 ko)
28 rm _pkg/usr/share/pixmaps/*.xpm
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 }