wok annotate rlwrap/receipt @ rev 22914

gnutls-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 24 11:49:09 2020 +0100 (2020-02-24)
parents 8dd8bab3f0ca
children b569b85b0fb9
rev   line source
pascal@11214 1 # SliTaz package receipt.
pascal@11214 2
pascal@11214 3 PACKAGE="rlwrap"
Hans-G?nter@21843 4 VERSION="0.43"
pascal@11214 5 CATEGORY="misc"
pascal@11214 6 SHORT_DESC="Input history wrapper using GNU readline."
pascal@11214 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
Hans-G?nter@21843 9 WEB_SITE="https://github.com/hanslub42/rlwrap/"
Hans-G?nter@21843 10
pascal@11214 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21843 12 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
pascal@11214 13
Hans-G?nter@21843 14 BUILD_DEPENDS="automake ncurses-dev readline-dev"
pascal@11214 15
pascal@11214 16 # Rules to configure and make the package.
pascal@11214 17 compile_rules()
pascal@11214 18 {
pascal@17673 19 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21843 20
Hans-G?nter@21843 21 autoreconf --install &&
Hans-G?nter@21843 22 ./configure \
Hans-G?nter@21843 23 --prefix=/usr \
Hans-G?nter@21843 24 --localstatedir=/var \
pascal@17673 25 $CONFIGURE_ARGS &&
Hans-G?nter@21843 26 make &&
Hans-G?nter@21843 27 make DESTDIR=$DESTDIR install
pascal@11214 28 }
pascal@11214 29
pascal@11214 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11214 31 genpkg_rules()
pascal@11214 32 {
pascal@11214 33 mkdir -p $fs/usr/share
Hans-G?nter@21843 34
Hans-G?nter@21843 35 cp -a $install/usr/share/rlwrap $fs/usr/share
Hans-G?nter@21843 36 cp -a $install/usr/bin $fs/usr
pascal@11214 37 }