wok view fcgi/receipt @ rev 10393
cgdb: can't cross (use native)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 19:01:25 2011 +0200 (2011-05-23) |
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 }