wok-6.x view rlwrap/receipt @ rev 21130

Up xpaint (2.9.10.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 21 11:55:21 2019 +0100 (2019-03-21)
parents c7c3567bd8d4
children 64d9f0db2734
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="https://github.com/hanslub42/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 }