wok view rlwrap/receipt @ rev 21423
tor 0.3.5.8
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Apr 25 08:53:31 2019 +0000 (2019-04-25) |
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 }