wok-current annotate rlwrap/receipt @ rev 18056

Up: cookutils, cookutils-daemon (737).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 15 16:51:30 2015 +0300 (2015-05-15)
parents 3b4e4318134e
children 8dd8bab3f0ca
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"
pascal@11214 10 WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
pascal@11214 11 WGET_URL="${WEB_SITE}$TARBALL"
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@17673 18 export LDFLAGS="$LDFLAGS -ltinfo"
pascal@11214 19 ./configure --prefix=/usr \
pascal@11214 20 --localstatedir=/var \
pascal@17673 21 $CONFIGURE_ARGS &&
pascal@11214 22 make && make DESTDIR=$DESTDIR install
pascal@11214 23 }
pascal@11214 24
pascal@11214 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11214 26 genpkg_rules()
pascal@11214 27 {
pascal@11214 28 mkdir -p $fs/usr/share
pascal@15593 29 cp -a $install/usr/share/rlwrap $fs/usr/share
pascal@15593 30 cp -a $install/usr/bin $fs/usr
pascal@11214 31 }