wok-6.x view fcgi/receipt @ rev 23644
openal: added LDFLAGS
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 13:36:35 2020 +0100 (2020-04-20) |
parents | e3f377fbc5f0 |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
22 # busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
24 ./autogen.sh &&
25 ./configure \
26 CC=gcc-83 \
27 CXX=g++-83 \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make -j1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 }