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

updated ethtool (5.4 -> 5.16)
author Hans-G?nter Theisgen
date Tue Feb 22 15:25:07 2022 +0100 (2022-02-22)
parents 64d9f0db2734
children e1e1678c5265
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 # 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 }