wok diff privoxy/receipt @ rev 23848

inkscape: update build_depends
author Richard Dunbar <mojo@slitaz.org>
date Sun Jun 14 23:18:03 2020 -0400 (2020-06-14)
parents 970c5ec9a60a
children 080c1dff8494
line diff
     1.1 --- a/privoxy/receipt	Sun May 20 13:28:18 2018 +0200
     1.2 +++ b/privoxy/receipt	Sun Jun 14 23:18:03 2020 -0400
     1.3 @@ -1,20 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="privoxy"
     1.7 -VERSION="3.0.26-stable"
     1.8 +VERSION="3.0.28"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Non-caching web privacy proxy."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.14 -WEB_SITE="http://www.privoxy.org/"
    1.15 -WGET_URL="http://downloads.sourceforge.net/ijbswa/$TARBALL"
    1.16 +WEB_SITE="https://www.privoxy.org/"
    1.17  
    1.18 +TARBALL="$PACKAGE-$VERSION-stable-src.tar.gz"
    1.19 +WGET_URL="$SF_MIRROR/ijbswa/$TARBALL"
    1.20 +
    1.21 +DEPENDS="pcre zlib"
    1.22 +BUILD_DEPENDS="autoconf coreutils m4 perl zlib-dev"
    1.23  CONFIG_FILES="/etc/privoxy/config"
    1.24  
    1.25 -DEPENDS="zlib pcre"
    1.26 -BUILD_DEPENDS="zlib-dev autoconf perl m4 coreutils"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 @@ -22,29 +22,30 @@
    1.32  	adduser -s /bin/false -H -D -u 42 privoxy
    1.33  	addgroup -g 42 privoxy
    1.34  	
    1.35 -	cd $src
    1.36 -
    1.37  	# Needs autoconf
    1.38  	autoheader
    1.39  	autoconf
    1.40  
    1.41 -	./configure \
    1.42 -		--prefix=/usr \
    1.43 -		--sysconfdir=/etc/privoxy \
    1.44 -		--infodir=/usr/share/info \
    1.45 -		--mandir=/usr/share/man \
    1.46 -		--localstatedir=/var \
    1.47 +	./configure				\
    1.48 +		--prefix=/usr			\
    1.49 +		--sysconfdir=/etc/privoxy	\
    1.50 +		--infodir=/usr/share/info	\
    1.51 +		--mandir=/usr/share/man		\
    1.52 +		--localstatedir=/var		\
    1.53  		$CONFIGURE_ARGS &&
    1.54 -	make && make DESTDIR=$DESTDIR install
    1.55 +	make &&
    1.56 +	make DESTDIR=$DESTDIR install
    1.57  }
    1.58  
    1.59  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.60  genpkg_rules()
    1.61  {
    1.62 -	mkdir -p $fs/etc/init.d $fs/usr
    1.63 -	cp -a $install/usr/sbin $fs/usr
    1.64 -	cp -a $install/var $fs
    1.65 -	cp -a $install/etc $fs
    1.66 +	mkdir -p $fs/etc/init.d
    1.67 +	mkdir -p $fs/usr
    1.68 +
    1.69 +	cp -a $install/usr/sbin	$fs/usr
    1.70 +	cp -a $install/var	$fs
    1.71 +	cp -a $install/etc	$fs
    1.72  
    1.73  	# Copy daemon from stuff
    1.74  	cp $stuff/daemon-privoxy $fs/etc/init.d/privoxy