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

Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 09 14:47:24 2023 +0000 (19 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="le"
4 VERSION="1.16.8"
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="http://lav.yar.ru/programs.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://lav.yar.ru/download/$PACKAGE/$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 &&
40 make install DESTDIR=$DESTDIR
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 }