wok-6.x diff fcgi/receipt @ rev 23300

updated perl-compress-raw-zlib (2.051 -> 2.093)
author Hans-G?nter Theisgen
date Sun Mar 29 16:50:35 2020 +0100 (2020-03-29)
parents e3f377fbc5f0
children 5ea0ce1cecc0
line diff
     1.1 --- a/fcgi/receipt	Thu Jan 24 17:15:36 2019 +0100
     1.2 +++ b/fcgi/receipt	Sun Mar 29 16:50:35 2020 +0100
     1.3 @@ -1,36 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fcgi"
     1.7 -VERSION="2.4.0"
     1.8 +VERSION="2.4.2"
     1.9  CATEGORY="development"
    1.10 +TAGS="CGI"
    1.11  SHORT_DESC="Fast CGI binary and library."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://fastcgi-archives.github.io/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://fastcgi-archives.github.io/"
    1.18 -WGET_URL="http://www.fastcgi.com/dist/$TARBALL"
    1.19 -TAGS="CGI"
    1.20 +WGET_URL="https://github.com/FastCGI-Archives/${PACKAGE}2/archive/$VERSION.tar.gz"
    1.21 +
    1.22 +DEPENDS="gcc83-lib-base"
    1.23 +BUILD_DEPENDS="autoconf automake gcc83 libtool"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	# Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
    1.29 -	busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
    1.30 +#	busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
    1.31  	
    1.32 -	cd $src
    1.33 -	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--infodir=/usr/share/info \
    1.36 -		--mandir=/usr/share/man \
    1.37 +	./autogen.sh &&
    1.38 +	./configure				\
    1.39 +		CC=gcc-83			\
    1.40 +		CXX=g++-83			\
    1.41 +		--prefix=/usr			\
    1.42 +		--infodir=/usr/share/info	\
    1.43 +		--mandir=/usr/share/man		\
    1.44  		$CONFIGURE_ARGS &&
    1.45  	make -j1 &&
    1.46 -	make -j1 DESTDIR=$DESTDIR install
    1.47 +	make DESTDIR=$DESTDIR install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53  	mkdir -p $fs/usr/lib
    1.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.55 -	cp -a $install/usr/bin $fs/usr
    1.56 +
    1.57 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.58 +	cp -a $install/usr/bin		$fs/usr
    1.59  }