wok-current view fcgi/receipt @ rev 16107

slime is not cross compiling
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 18 22:47:08 2014 +0100 (2014-03-18)
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 }