wok-next view le/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 17e313b5b9c1
children d5aab818505e
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"
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 }