wok annotate fcgi/receipt @ rev 24560

updated fossil (2.12.1 -> 2.18)
author Hans-G?nter Theisgen
date Fri Feb 25 16:12:40 2022 +0100 (2022-02-25)
parents 3463bfcc3cb9
children 20ad21d5532c
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
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pankso@2473 24 # Rules to configure and make the package.
pankso@2473 25 compile_rules()
pankso@2473 26 {
erjo@4215 27 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
Hans-G?nter@22753 28 # busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
erjo@4215 29
Hans-G?nter@22753 30 ./autogen.sh &&
Hans-G?nter@22753 31 ./configure \
Hans-G?nter@22753 32 CC=gcc-83 \
Hans-G?nter@22753 33 CXX=g++-83 \
Hans-G?nter@22753 34 --prefix=/usr \
Hans-G?nter@22753 35 --infodir=/usr/share/info \
Hans-G?nter@22753 36 --mandir=/usr/share/man \
pankso@2473 37 $CONFIGURE_ARGS &&
slaxemulator@8437 38 make -j1 &&
Hans-G?nter@22753 39 make DESTDIR=$DESTDIR install
pankso@2473 40 }
pankso@2473 41
pankso@2473 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2473 43 genpkg_rules()
pankso@2473 44 {
pankso@2473 45 mkdir -p $fs/usr/lib
Hans-G?nter@22753 46
Hans-G?nter@22753 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22753 48 cp -a $install/usr/bin $fs/usr
pankso@2473 49 }