wok-next diff lynx/receipt @ rev 20729

cookutils: up (1059)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 14:14:46 2018 +0300 (2018-05-29)
parents c4e53a39395a
children d5aab818505e
line diff
     1.1 --- a/lynx/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/lynx/receipt	Tue May 29 14:14:46 2018 +0300
     1.3 @@ -1,45 +1,38 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="lynx"
     1.8  VERSION="2.8.8"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Terminal-based text-only browser."
    1.11 +SHORT_DESC="Terminal-based text-only browser"
    1.12  MAINTAINER="samuel_trassare@yahoo.com"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://lynx.isc.org"
    1.15 +
    1.16  TARBALL="$PACKAGE$VERSION.tar.gz"
    1.17  WGET_URL="http://lynx.isc.org/$PACKAGE$VERSION/$TARBALL"
    1.18  
    1.19  # Will require build dep libtirpc after glibc is upgraded to 2.14.
    1.20 -DEPENDS="openssl ncurses zlib"
    1.21  BUILD_DEPENDS="openssl-dev ncurses-dev zlib-dev gettext-tools"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure $CONFIGURE_ARGS \
    1.27 -		--sysconfdir=/etc \
    1.28 -		--mandir=/usr/share/man \
    1.29 +compile_rules() {
    1.30 +	./configure \
    1.31  		--enable-ipv6 \
    1.32  		--enable-gnutls-compat \
    1.33  		--enable-nls \
    1.34  		--with-ssl \
    1.35  		--with-gnutls \
    1.36  		--with-zlib \
    1.37 -		--with-nss-compat &&
    1.38 -	make && 
    1.39 +		--with-nss-compat \
    1.40 +		$CONFIGURE_ARGS &&
    1.41 +	make &&
    1.42  	make install
    1.43  }
    1.44  
    1.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 -genpkg_rules()
    1.47 -{
    1.48 -	mkdir -p $fs/usr
    1.49 -	cp -a $install/usr/bin $fs/usr
    1.50 -	cp -a $install/etc $fs/
    1.51 +testsuite() {
    1.52 +	readelf -h $install/usr/bin/lynx
    1.53  }
    1.54  
    1.55 -testsuite()
    1.56 -{
    1.57 -	readelf -h $install/usr/bin/lynx
    1.58 +genpkg_rules() {
    1.59 +	copy @std
    1.60 +	DEPENDS="openssl ncurses zlib"
    1.61  }