wok-stable view le/receipt @ rev 10747
rt-source*: move to undigest
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 12:20:27 2011 +0200 (2011-05-30) |
parents | 02bbaa9d12ba |
children |
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 }