wok-current view fcgi/receipt @ rev 15203

linux: update boot sector
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 08 22:26:29 2013 +0000 (2013-09-08)
parents ef17f8f40a10
children 3b4e4318134e
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 }