wok-next annotate rlwrap/receipt @ rev 21000

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 05 14:38:07 2018 +0300 (2018-10-05)
parents 466bca9334ef
children d5aab818505e
rev   line source
pascal@11214 1 # SliTaz package receipt.
pascal@11214 2
pascal@11214 3 PACKAGE="rlwrap"
pascal@11214 4 VERSION="0.37"
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"
pascal@11214 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20909 10 WEB_SITE="https://github.com/hanslub42/rlwrap"
al@20909 11 WGET_URL="${WEB_SITE}$TARBALL" # FIXME
pascal@11214 12
pascal@11214 13 BUILD_DEPENDS="readline-dev ncurses-dev"
pascal@11214 14
pascal@11214 15 # Rules to configure and make the package.
pascal@11214 16 compile_rules()
pascal@11214 17 {
pascal@11214 18 ./configure --prefix=/usr \
pascal@11214 19 --localstatedir=/var \
pascal@17673 20 $CONFIGURE_ARGS &&
pascal@11214 21 make && make DESTDIR=$DESTDIR install
pascal@11214 22 }
pascal@11214 23
pascal@11214 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11214 25 genpkg_rules()
pascal@11214 26 {
pascal@11214 27 mkdir -p $fs/usr/share
pascal@15593 28 cp -a $install/usr/share/rlwrap $fs/usr/share
pascal@15593 29 cp -a $install/usr/bin $fs/usr
pascal@11214 30 }