wok-current view rlwrap/receipt @ rev 25152
updated proot (5.1.0 -> 5.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 14:53:40 2022 +0100 (2022-06-30) |
parents | b569b85b0fb9 |
children | bbf6b6368dbe |
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/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="automake ncurses-dev readline-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
28 autoreconf --install &&
29 ./configure \
30 --prefix=/usr \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/share/rlwrap $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 }