wok-next annotate le/receipt @ rev 21678

updated getmail (4.41.0 -> 5.14)
author Hans-G?nter Theisgen
date Mon Jun 29 13:44:08 2020 +0100 (2020-06-29)
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 }