wok-6.x view le/receipt @ rev 21373

updated le (1.14.2 -> 1.16.5)
author Hans-G?nter Theisgen
date Mon Apr 22 08:57:09 2019 +0100 (2019-04-22)
parents 17e313b5b9c1
children f68a9e7fb667
line source
1 # SliTaz package receipt.
3 PACKAGE="le"
4 VERSION="1.16.5"
5 CATEGORY="utilities"
6 TAGS="text-editor"
7 SHORT_DESC="Small editor using ncurses."
8 MAINTAINER="mimas@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/lavv17/le"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="gcc-lib-base ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
23 # 1.16.5 no longer required
24 # patch -p 0 < $stuff/gcc-4.patch || return 1
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/le $fs/usr/share
42 }