wok annotate le/receipt @ rev 21980

updated stuntman (1.2.6 -> 1.2.15)
author Hans-G?nter Theisgen
date Fri Oct 11 17:56:48 2019 +0100 (2019-10-11)
parents 17e313b5b9c1
children f68a9e7fb667
rev   line source
mimas@2026 1 # SliTaz package receipt.
mimas@2026 2
mimas@2026 3 PACKAGE="le"
Hans-G?nter@21373 4 VERSION="1.16.5"
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@21373 10 WEB_SITE="https://github.com/lavv17/le"
mimas@2026 11
Hans-G?nter@21373 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21373 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@21373 14
Hans-G?nter@21373 15 DEPENDS="gcc-lib-base ncurses"
pascal@15245 16 BUILD_DEPENDS="ncurses-dev"
pascal@15245 17
mimas@2026 18 # Rules to configure and make the package.
mimas@2026 19 compile_rules()
mimas@2026 20 {
pascal@17670 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
Hans-G?nter@21373 22
Hans-G?nter@21373 23 # 1.16.5 no longer required
Hans-G?nter@21373 24 # patch -p 0 < $stuff/gcc-4.patch || return 1
Hans-G?nter@21373 25
Hans-G?nter@21373 26 ./configure \
Hans-G?nter@21373 27 --prefix=/usr \
Hans-G?nter@21373 28 --infodir=/usr/share/info \
Hans-G?nter@21373 29 --mandir=/usr/share/man \
pankso@4169 30 $CONFIGURE_ARGS &&
Hans-G?nter@21373 31 make -j 1 &&
pascal@15245 32 make DESTDIR=$DESTDIR install
mimas@2026 33 }
mimas@2026 34
mimas@2026 35 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2026 36 genpkg_rules()
mimas@2026 37 {
mimas@2026 38 mkdir -p $fs/usr/share
Hans-G?nter@21373 39
Hans-G?nter@21373 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21373 41 cp -a $install/usr/share/le $fs/usr/share
mimas@2026 42 }