wok annotate le/receipt @ rev 25508

Up memtest (6.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 10:26:56 2023 +0000 (21 months ago)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
mimas@2026 1 # SliTaz package receipt.
mimas@2026 2
mimas@2026 3 PACKAGE="le"
Hans-G?nter@24709 4 VERSION="1.16.8"
mimas@2026 5 CATEGORY="utilities"
Hans-G?nter@21373 6 TAGS="text-editor"
Hans-G?nter@21373 7 SHORT_DESC="Small editor using ncurses."
mimas@2026 8 MAINTAINER="mimas@slitaz.org"
pascal@15245 9 LICENSE="GPL2"
Hans-G?nter@24709 10 WEB_SITE="http://lav.yar.ru/programs.html"
mimas@2026 11
Hans-G?nter@22996 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24709 13 WGET_URL="http://lav.yar.ru/download/$PACKAGE/$TARBALL"
Hans-G?nter@21373 14
Hans-G?nter@22996 15 DEPENDS="gcc83-lib-base ncurses"
Hans-G?nter@22996 16 BUILD_DEPENDS="gcc83 ncurses-dev"
pascal@15245 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
mimas@2026 24 # Rules to configure and make the package.
mimas@2026 25 compile_rules()
mimas@2026 26 {
pascal@17670 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
Hans-G?nter@21373 28
Hans-G?nter@21373 29 # 1.16.5 no longer required
Hans-G?nter@21373 30 # patch -p 0 < $stuff/gcc-4.patch || return 1
Hans-G?nter@21373 31
Hans-G?nter@21373 32 ./configure \
Hans-G?nter@22996 33 CC=gcc-83 \
Hans-G?nter@22996 34 CXX=g++-83 \
Hans-G?nter@21373 35 --prefix=/usr \
Hans-G?nter@21373 36 --infodir=/usr/share/info \
Hans-G?nter@21373 37 --mandir=/usr/share/man \
pankso@4169 38 $CONFIGURE_ARGS &&
Hans-G?nter@24709 39 make &&
Hans-G?nter@24709 40 make install DESTDIR=$DESTDIR
mimas@2026 41 }
mimas@2026 42
mimas@2026 43 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2026 44 genpkg_rules()
mimas@2026 45 {
mimas@2026 46 mkdir -p $fs/usr/share
Hans-G?nter@21373 47
Hans-G?nter@21373 48 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21373 49 cp -a $install/usr/share/le $fs/usr/share
mimas@2026 50 }