wok-6.x rev 22483

updated antinat and antinat-dev (0.90 -> 0.91)
author Hans-G?nter Theisgen
date Mon Dec 30 16:44:40 2019 +0100 (2019-12-30)
parents de009acdced5
children 8c3e3fa52973
files antinat-dev/receipt antinat/receipt
line diff
     1.1 --- a/antinat-dev/receipt	Mon Dec 30 15:31:22 2019 +0100
     1.2 +++ b/antinat-dev/receipt	Mon Dec 30 16:44:40 2019 +0100
     1.3 @@ -1,21 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="antinat-dev"
     1.7 -VERSION="0.90"
     1.8 +VERSION="0.91"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications, development files."
    1.11 +SHORT_DESC="Flexible SOCKS server and client library for proxy-based applications, development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://antinat.sourceforge.net/"
    1.15  
    1.16 +DEPENDS="antinat expat-dev"
    1.17  WANTED="antinat"
    1.18  
    1.19 -DEPENDS="antinat expat-dev"
    1.20 -
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.   
    1.22  genpkg_rules()                                      
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include	$fs/usr
    1.29 +	cp -a $install/usr/lib/*a	$fs/usr/lib
    1.30  }
     2.1 --- a/antinat/receipt	Mon Dec 30 15:31:22 2019 +0100
     2.2 +++ b/antinat/receipt	Mon Dec 30 16:44:40 2019 +0100
     2.3 @@ -1,16 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="antinat"
     2.7 -VERSION="0.90"
     2.8 +VERSION="0.91"
     2.9  CATEGORY="network"
    2.10 -SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications."
    2.11 +SHORT_DESC="Flexible SOCKS server and client library for proxy-based applications."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="http://antinat.sourceforge.net/"
    2.15  
    2.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.18 -#WGET_URL="http://www.malsmith.net/download/?obj=$PACKAGE/$VERSION/$PACKAGE-source.tar.bz2"
    2.19 +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.20 +WGET_URL="http://www.malsmith.net/download/?obj=$PACKAGE/$VERSION/$PACKAGE-source.tar.bz2"
    2.21  
    2.22  DEPENDS="expat"
    2.23  BUILD_DEPENDS="expat-dev"
    2.24 @@ -18,7 +18,10 @@
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
    2.29 +	./configure			\
    2.30 +		--prefix=/usr		\
    2.31 +		--sysconfdir=/etc	\
    2.32 +		$CONFIGURE_ARGS &&
    2.33  	make &&
    2.34  	make prefix=$DESTDIR/usr install
    2.35  
    2.36 @@ -28,10 +31,14 @@
    2.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.38  genpkg_rules()
    2.39  {
    2.40 -	mkdir -p $fs/usr/lib $fs/etc
    2.41 -	cp $src/etc/antinat.xml $fs/etc
    2.42 +	mkdir -p $fs/usr/lib
    2.43 +	mkdir -p $fs/etc
    2.44 +
    2.45 +	cp $src/etc/antinat.xml		$fs/etc
    2.46  	chmod 600 $fs/etc/antinat.xml
    2.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.48 -	cp -a $install/usr/bin $fs/usr
    2.49 -	cp -a $install/usr/var $fs
    2.50 +
    2.51 +	cp -a $install/usr/lib/*	$fs/usr/lib
    2.52 +	rm				$fs/usr/lib/*a
    2.53 +	cp -a $install/usr/bin		$fs/usr
    2.54 +	cp -a $install/usr/var		$fs
    2.55  }