wok view le/receipt @ rev 19399

memtest: DOS shutdown
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 09:48:39 2016 +0200 (2016-09-03)
parents 1f57a2d79cf7
children 9583b2208286
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
11 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
12 TAGS="text-editor"
14 DEPENDS="ncurses gcc-lib-base"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 patch -p 0 < $stuff/gcc-4.patch || return 1
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/le $fs/usr/share
37 }