wok annotate fcgi/receipt @ rev 23346

updated perl-http-server-simple (0.44 -> 0.52)
author Hans-G?nter Theisgen
date Tue Mar 31 09:24:52 2020 +0100 (2020-03-31)
parents e3f377fbc5f0
children 5ea0ce1cecc0
rev   line source
pankso@2473 1 # SliTaz package receipt.
pankso@2473 2
pankso@2473 3 PACKAGE="fcgi"
Hans-G?nter@22753 4 VERSION="2.4.2"
pankso@2473 5 CATEGORY="development"
Hans-G?nter@22753 6 TAGS="CGI"
pankso@2473 7 SHORT_DESC="Fast CGI binary and library."
pankso@2473 8 MAINTAINER="pankso@slitaz.org"
pascal@15593 9 LICENSE="MIT"
Hans-G?nter@22753 10 WEB_SITE="https://fastcgi-archives.github.io/"
Hans-G?nter@22753 11
pankso@2473 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22753 13 WGET_URL="https://github.com/FastCGI-Archives/${PACKAGE}2/archive/$VERSION.tar.gz"
Hans-G?nter@22753 14
Hans-G?nter@22753 15 DEPENDS="gcc83-lib-base"
Hans-G?nter@22753 16 BUILD_DEPENDS="autoconf automake gcc83 libtool"
pankso@2473 17
pankso@2473 18 # Rules to configure and make the package.
pankso@2473 19 compile_rules()
pankso@2473 20 {
erjo@4215 21 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
Hans-G?nter@22753 22 # busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
erjo@4215 23
Hans-G?nter@22753 24 ./autogen.sh &&
Hans-G?nter@22753 25 ./configure \
Hans-G?nter@22753 26 CC=gcc-83 \
Hans-G?nter@22753 27 CXX=g++-83 \
Hans-G?nter@22753 28 --prefix=/usr \
Hans-G?nter@22753 29 --infodir=/usr/share/info \
Hans-G?nter@22753 30 --mandir=/usr/share/man \
pankso@2473 31 $CONFIGURE_ARGS &&
slaxemulator@8437 32 make -j1 &&
Hans-G?nter@22753 33 make DESTDIR=$DESTDIR install
pankso@2473 34 }
pankso@2473 35
pankso@2473 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2473 37 genpkg_rules()
pankso@2473 38 {
pankso@2473 39 mkdir -p $fs/usr/lib
Hans-G?nter@22753 40
Hans-G?nter@22753 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22753 42 cp -a $install/usr/bin $fs/usr
pankso@2473 43 }