wok view rlwrap/receipt @ rev 25740

Fix vlc build, 3.x required Qt5
author Stanislas Leduc <shann@slitaz.org>
date Sun Aug 25 19:45:07 2024 +0200 (2 months ago)
parents bbf6b6368dbe
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rlwrap"
4 VERSION="0.45.2"
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 install DESTDIR=$DESTDIR
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 }