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

Added nss
author Liu Peng <rocky@slitaz.org>
date Thu Mar 18 02:19:04 2010 +0000 (2010-03-18)
parents e06cd5eac01a
children ef17f8f40a10
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 &&
26 make 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 }