wok diff apache-mod-perl/receipt @ rev 25326

updated squidguardmgr (1.12 -> 1.14)
author Hans-G?nter Theisgen
date Fri Jul 22 17:47:15 2022 +0100 (2022-07-22)
parents cb67b4f8be05
children d80275dcc2c7
line diff
     1.1 --- a/apache-mod-perl/receipt	Wed Mar 16 11:02:39 2022 +0000
     1.2 +++ b/apache-mod-perl/receipt	Fri Jul 22 17:47:15 2022 +0100
     1.3 @@ -1,18 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="apache-mod-perl"
     1.7 -VERSION="2.0.8"
     1.8 +VERSION="2.0.11"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="PERL module for Apache"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="Apache"
    1.13 +WEB_SITE="https://perl.apache.org/"
    1.14 +REPOLOGY="apmod:perl"
    1.15 +
    1.16  SOURCE="mod_perl"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://perl.apache.org/"
    1.19  WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$TARBALL"
    1.20 +WGET_URL="https://archive.apache.org/dist/perl/$TARBALL"
    1.21  
    1.22  DEPENDS="apache perl-thread"
    1.23 -BUILD_DEPENDS="perl-thread gdbm-dev apache-dev apr-dev apr-util-dev apache"
    1.24 +BUILD_DEPENDS="apache apache-dev apr-dev apr-util-dev gdbm-dev perl-thread"
    1.25  
    1.26  current_version()
    1.27  {
    1.28 @@ -23,23 +26,23 @@
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	cd $src
    1.33 -	perl Makefile.PL MP_APXS=/usr/bin/apxs \
    1.34 -			 MP_APR_CONFIG=/usr/bin/apr-1-config
    1.35 +	perl	Makefile.PL		\
    1.36 +		MP_APXS=/usr/bin/apxs	\
    1.37 +		MP_APR_CONFIG=/usr/bin/apr-1-config
    1.38  	sed -i 's/remote_ip/client_ip/;s/remote_addr/client_addr/' \
    1.39  		WrapXS/Apache2/Connection/Connection.xs
    1.40  	sed -i 's/>loglevel/>log.level/' \
    1.41  		WrapXS/Apache2/ServerRec/ServerRec.xs
    1.42  	make &&
    1.43 -	make DESTDIR=$DESTDIR install
    1.44 +	make install DESTDIR=$DESTDIR
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50  	mkdir -p $fs/usr/share
    1.51 -	cp -a $install/usr/bin $fs/usr
    1.52 -	cp -a $install/usr/lib $fs/usr
    1.53 -	cp -a $install/usr/share/apache $fs/usr/share
    1.54 -	
    1.55 +
    1.56 +	cp -a $install/usr/bin		$fs/usr
    1.57 +	cp -a $install/usr/lib		$fs/usr
    1.58 +	cp -a $install/usr/share/apache	$fs/usr/share
    1.59  }