wok-6.x view le/receipt @ rev 24173
updated outguess again (0.2 -> 0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 09:24:42 2021 +0100 (2021-12-29) |
parents | f68a9e7fb667 |
children | e833ef850aaf |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
29 # 1.16.5 no longer required
30 # patch -p 0 < $stuff/gcc-4.patch || return 1
32 ./configure \
33 CC=gcc-83 \
34 CXX=g++-83 \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make -j 1 &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/le $fs/usr/share
50 }