wok-next diff rlwrap/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 7506b35e1c6f
children
line diff
     1.1 --- a/rlwrap/receipt	Mon Aug 13 00:47:17 2018 +0300
     1.2 +++ b/rlwrap/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="rlwrap"
     1.5  VERSION="0.37"
     1.6  CATEGORY="misc"
     1.7 -SHORT_DESC="Input history wrapper using GNU readline."
     1.8 +SHORT_DESC="Input history wrapper using GNU readline"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -12,18 +12,16 @@
    1.13  
    1.14  BUILD_DEPENDS="readline-dev ncurses-dev"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 -	./configure --prefix=/usr \
    1.20 +compile_rules() {
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23  		--localstatedir=/var \
    1.24  		$CONFIGURE_ARGS &&
    1.25 -	make && make DESTDIR=$DESTDIR install
    1.26 +	make &&
    1.27 +	make DESTDIR=$install install
    1.28  }
    1.29  
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 +genpkg_rules() {
    1.34  	mkdir -p $fs/usr/share
    1.35  	cp -a $install/usr/share/rlwrap $fs/usr/share
    1.36  	cp -a $install/usr/bin $fs/usr