wok-next annotate le/receipt @ rev 21288

update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...)
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 08 11:14:03 2019 +0000 (2019-12-08)
parents d6378d455338
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
mimas@2026 2
mimas@2026 3 PACKAGE="le"
pankso@4169 4 VERSION="1.14.2"
mimas@2026 5 CATEGORY="utilities"
mimas@2026 6 SHORT_DESC="Small editor using ncurses"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15245 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="ftp://ftp.yar.ru/pub/source/le/"
al@21020 10
mimas@2026 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
mimas@2026 12 WGET_URL="ftp://ftp.yar.ru/pub/source/le/$TARBALL"
mimas@2026 13
pascal@15245 14 BUILD_DEPENDS="ncurses-dev"
pascal@15245 15
al@21020 16 compile_rules() {
pascal@17670 17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
al@20661 18
mimas@2026 19 ./configure \
mimas@2026 20 --prefix=/usr \
mimas@2026 21 --infodir=/usr/share/info \
mimas@2026 22 --mandir=/usr/share/man \
pankso@4169 23 $CONFIGURE_ARGS &&
pascal@15265 24 make &&
al@21020 25 make DESTDIR=$install install
mimas@2026 26 }
mimas@2026 27
al@21020 28 genpkg_rules() {
mimas@2026 29 mkdir -p $fs/usr/share
pascal@15245 30 cp -a $install/usr/bin $fs/usr
pascal@15245 31 cp -a $install/usr/share/le $fs/usr/share
al@21020 32 DEPENDS="ncurses gcc-lib-base"
al@21020 33 TAGS="text-editor"
mimas@2026 34 }