wok-current view fcgi/receipt @ rev 17028

linux64: new module path (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 16 18:54:48 2014 +0200 (2014-08-16)
parents 2325c41c9264
children e3f377fbc5f0
line source
1 # SliTaz package receipt.
3 PACKAGE="fcgi"
4 VERSION="2.4.0"
5 CATEGORY="development"
6 SHORT_DESC="Fast CGI binary and library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.fastcgi.com/"
11 WGET_URL="http://www.fastcgi.com/dist/$TARBALL"
12 TAGS="CGI"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
18 busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j1 &&
27 make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 }