wok-6.x rev 21843

updated rlwrap (0.37 -> 0.43)
author Hans-G?nter Theisgen
date Sun Sep 15 10:00:17 2019 +0100 (2019-09-15)
parents 9aea245ca956
children 3783bf9f732c
files rlwrap/receipt
line diff
     1.1 --- a/rlwrap/receipt	Sat Sep 14 17:48:02 2019 +0100
     1.2 +++ b/rlwrap/receipt	Sun Sep 15 10:00:17 2019 +0100
     1.3 @@ -1,31 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rlwrap"
     1.7 -VERSION="0.37"
     1.8 +VERSION="0.43"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Input history wrapper using GNU readline."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://github.com/hanslub42/rlwrap/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/hanslub42/rlwrap"
    1.17 -WGET_URL="${WEB_SITE}$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="readline-dev ncurses-dev"
    1.21 +BUILD_DEPENDS="automake ncurses-dev readline-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.27 -	./configure --prefix=/usr \
    1.28 -		--localstatedir=/var \
    1.29 +
    1.30 +	autoreconf --install &&
    1.31 +	./configure			\
    1.32 +		--prefix=/usr		\
    1.33 +		--localstatedir=/var	\
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make && make DESTDIR=$DESTDIR install
    1.36 +	make &&
    1.37 +	make DESTDIR=$DESTDIR install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43  	mkdir -p $fs/usr/share
    1.44 -	cp -a $install/usr/share/rlwrap $fs/usr/share
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 +
    1.47 +	cp -a $install/usr/share/rlwrap	$fs/usr/share
    1.48 +	cp -a $install/usr/bin		$fs/usr
    1.49  }