wok view rlwrap/receipt @ rev 21887
reptyr: dirty fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 02 18:36:41 2019 +0200 (2019-10-02) |
parents | 8dd8bab3f0ca |
children | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rlwrap"
4 VERSION="0.43"
5 CATEGORY="misc"
6 SHORT_DESC="Input history wrapper using GNU readline."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/hanslub42/rlwrap/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="automake ncurses-dev readline-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
21 autoreconf --install &&
22 ./configure \
23 --prefix=/usr \
24 --localstatedir=/var \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
35 cp -a $install/usr/share/rlwrap $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 }