wok-6.x view le/receipt @ rev 23320
updated perl-encode-locale (1.03 -> 1.05)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 16:36:15 2020 +0100 (2020-03-30) |
parents | 9583b2208286 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="le"
4 VERSION="1.16.7"
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.gz"
13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="gcc83-lib-base ncurses"
16 BUILD_DEPENDS="gcc83 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 CC=gcc-83 \
28 CXX=g++-83 \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/le $fs/usr/share
44 }