wok-current view fcgi/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 3463bfcc3cb9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fcgi"
4 VERSION="2.4.2"
5 CATEGORY="development"
6 TAGS="CGI"
7 SHORT_DESC="Fast CGI binary and library."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://fastcgi-archives.github.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/FastCGI-Archives/${PACKAGE}2/archive/$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="autoconf automake gcc83 libtool"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
28 # busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
30 ./autogen.sh &&
31 ./configure \
32 CC=gcc-83 \
33 CXX=g++-83 \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make -j1 &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 }