wok-current view rlwrap/receipt @ rev 24036
created recipe for autoconf-archive 2021.02.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 11 16:42:15 2021 +0100 (2021-04-11) |
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 }