wok-next view le/receipt @ rev 9665
lighttpd: we want $stuff
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 01 14:04:38 2011 +0200 (2011-05-01) |
parents | 0b4cf0d9e1b5 |
children | d1768332cee0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="le"
4 VERSION="1.14.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Small editor using ncurses"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="ncurses gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
12 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p 0 < ../stuff/gcc-4.patch || return 1
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/le $fs/usr/share
34 }