wok diff antinat/receipt @ rev 23365

updated perl-mail-sendmail (0.79 -> 0.80)
author Hans-G?nter Theisgen
date Tue Mar 31 11:21:06 2020 +0100 (2020-03-31)
parents acac2eedb66f
children 5f6c5106b1f5
line diff
     1.1 --- a/antinat/receipt	Wed Feb 06 15:57:25 2019 +0100
     1.2 +++ b/antinat/receipt	Tue Mar 31 11:21:06 2020 +0100
     1.3 @@ -1,16 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="antinat"
     1.7 -VERSION="0.90"
     1.8 +VERSION="0.91"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Flexible SOCKS server & client library for proxy-based applications."
    1.11 +SHORT_DESC="Flexible SOCKS server and client library for proxy-based applications."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://antinat.sourceforge.net/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 -#WGET_URL="http://www.malsmith.net/download/?obj=$PACKAGE/$VERSION/$PACKAGE-source.tar.bz2"
    1.19 +#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 +WGET_URL="http://www.malsmith.net/download/?obj=$PACKAGE/$VERSION/$PACKAGE-source.tar.bz2"
    1.21  
    1.22  DEPENDS="expat"
    1.23  BUILD_DEPENDS="expat-dev"
    1.24 @@ -18,7 +18,10 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
    1.29 +	./configure			\
    1.30 +		--prefix=/usr		\
    1.31 +		--sysconfdir=/etc	\
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34  	make prefix=$DESTDIR/usr install
    1.35  
    1.36 @@ -28,10 +31,14 @@
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/lib $fs/etc
    1.41 -	cp $src/etc/antinat.xml $fs/etc
    1.42 +	mkdir -p $fs/usr/lib
    1.43 +	mkdir -p $fs/etc
    1.44 +
    1.45 +	cp $src/etc/antinat.xml		$fs/etc
    1.46  	chmod 600 $fs/etc/antinat.xml
    1.47 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/var $fs
    1.50 +
    1.51 +	cp -a $install/usr/lib/*	$fs/usr/lib
    1.52 +	rm				$fs/usr/lib/*a
    1.53 +	cp -a $install/usr/bin		$fs/usr
    1.54 +	cp -a $install/usr/var		$fs
    1.55  }