wok annotate le/receipt @ rev 23648
updated slib (3b5 -> 3b6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 14:28:42 2020 +0100 (2020-04-20) |
parents | 9583b2208286 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
mimas@2026 | 1 # SliTaz package receipt. |
mimas@2026 | 2 |
mimas@2026 | 3 PACKAGE="le" |
Hans-G?nter@22996 | 4 VERSION="1.16.7" |
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@22996 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21373 | 13 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$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 |
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@22996 | 27 CC=gcc-83 \ |
Hans-G?nter@22996 | 28 CXX=g++-83 \ |
Hans-G?nter@21373 | 29 --prefix=/usr \ |
Hans-G?nter@21373 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@21373 | 31 --mandir=/usr/share/man \ |
pankso@4169 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@21373 | 33 make -j 1 && |
pascal@15245 | 34 make DESTDIR=$DESTDIR install |
mimas@2026 | 35 } |
mimas@2026 | 36 |
mimas@2026 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2026 | 38 genpkg_rules() |
mimas@2026 | 39 { |
mimas@2026 | 40 mkdir -p $fs/usr/share |
Hans-G?nter@21373 | 41 |
Hans-G?nter@21373 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21373 | 43 cp -a $install/usr/share/le $fs/usr/share |
mimas@2026 | 44 } |