wok view le/receipt @ rev 5003
l*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 16:17:14 2010 +0100 (2010-02-28) |
parents | 5378a6ce05d5 |
children | 0b4cf0d9e1b5 |
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 || exit 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 strip -s $fs/usr/bin/*
35 }