wok-next view leafpad/receipt @ rev 11659
xfe, Improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 12 22:40:16 2012 +0100 (2012-02-12) |
parents | 7fb09aed8649 |
children | 705fe5fc7554 |
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=$DESTDIR 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 }