wok-current view rlwrap/receipt @ rev 19633

Up knock (0.7.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 10:32:17 2017 +0100 (2017-01-15)
parents 3b4e4318134e
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="rlwrap"
4 VERSION="0.37"
5 CATEGORY="misc"
6 SHORT_DESC="Input history wrapper using GNU readline."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 BUILD_DEPENDS="readline-dev ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 export LDFLAGS="$LDFLAGS -ltinfo"
19 ./configure --prefix=/usr \
20 --localstatedir=/var \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/share/rlwrap $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 }