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

icedtea6-jdk: be busybox compatible (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 15:24:08 2009 +0200 (2009-09-28)
parents 9a057b31dba5
children fb8aceda65ff
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
16 busybox patch -p0 -i stuff/fcgi-2.4.0_gcc4.u
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 }