wok-6.x view fcgi/receipt @ rev 8992

dahdi-linux: kernel 2.6.37 fix (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 11:39:09 2011 +0100 (2011-03-03)
parents fb8aceda65ff
children 2325c41c9264
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.fastcgi.com/"
10 WGET_URL="http://www.fastcgi.com/dist/$TARBALL"
11 TAGS="CGI"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
17 busybox patch -p0 -i stuff/fcgi-2.4.0_gcc4.u
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make -j1 &&
26 make -j1 DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 }