wok-current annotate libedit/receipt @ rev 21409

lynx: modified TARBALL
author Hans-G?nter Theisgen
date Tue Apr 23 16:08:29 2019 +0100 (2019-04-23)
parents 62ae2c6ea494
children e888209936f1
rev   line source
domcox@1356 1 # SliTaz package receipt.
domcox@1356 2
domcox@1356 3 PACKAGE="libedit"
Hans-G?nter@21172 4 VERSION="3.1"
pascal@1423 5 CATEGORY="misc"
Hans-G?nter@21172 6 TAGS="cli editor library"
Hans-G?nter@21172 7 SHORT_DESC="Berkeley-style licensed command line editor library."
pascal@13025 8 MAINTAINER="domcox@slitaz.org"
pascal@15472 9 LICENSE="BSD"
Hans-G?nter@21172 10 WEB_SITE="https://www.thrysoee.dk/editline/"
Hans-G?nter@21172 11
Hans-G?nter@21172 12 SOURCE="libedit-20190324"
domcox@1356 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21172 14 WGET_URL="$WEB_SITE$TARBALL"
domcox@1356 15
Hans-G?nter@21172 16 BUILD_DEPENDS="gettext ncurses-dev"
pascal@15613 17
domcox@1356 18 # Rules to configure and make the package.
domcox@1356 19 compile_rules()
domcox@1356 20 {
pascal@17727 21 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21172 22 ./configure \
Hans-G?nter@21172 23 --prefix=/usr \
Hans-G?nter@21172 24 --mandir=/usr/share/man \
Hans-G?nter@21172 25 --enable-widec \
Hans-G?nter@21172 26 $CONFIGURE_ARGS &&
Hans-G?nter@21172 27 make -j 1 &&
pascal@15472 28 make DESTDIR=$DESTDIR install
domcox@1356 29 }
domcox@1356 30
domcox@1356 31 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1356 32 genpkg_rules()
domcox@1356 33 {
domcox@1356 34 mkdir -p $fs/usr/lib
pascal@15472 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
domcox@1356 36 }