wok-6.x view leafpad/receipt @ rev 13652
Fix: motion build and improve package integration
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Nov 19 14:21:21 2012 +0100 (2012-11-19) |
parents | 92fad3dbcae4 |
children | 380ffe05937a |
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 $DESTDIR/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 }