wok-current annotate fcgi/receipt @ rev 4215

fcgi: build fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 10:06:40 2009 +0000 (2009-09-24)
parents 9a057b31dba5
children fb8aceda65ff
rev   line source
pankso@2473 1 # SliTaz package receipt.
pankso@2473 2
pankso@2473 3 PACKAGE="fcgi"
pankso@2473 4 VERSION="2.4.0"
pankso@2473 5 CATEGORY="development"
pankso@2473 6 SHORT_DESC="Fast CGI binary and library."
pankso@2473 7 MAINTAINER="pankso@slitaz.org"
pankso@2473 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@2473 9 WEB_SITE="http://www.fastcgi.com/"
pankso@2473 10 WGET_URL="http://www.fastcgi.com/dist/$TARBALL"
pankso@2473 11
pankso@2473 12 # Rules to configure and make the package.
pankso@2473 13 compile_rules()
pankso@2473 14 {
erjo@4215 15 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
erjo@4215 16 busybox patch -p0 -i stuff/fcgi-2.4.0_gcc4.u
erjo@4215 17
pankso@2473 18 cd $src
pankso@2473 19 ./configure \
pankso@2473 20 --prefix=/usr \
pankso@2473 21 --infodir=/usr/share/info \
pankso@2473 22 --mandir=/usr/share/man \
pankso@2473 23 $CONFIGURE_ARGS &&
pankso@2473 24 make &&
pankso@2473 25 make DESTDIR=$PWD/_pkg install
pankso@2473 26 }
pankso@2473 27
pankso@2473 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2473 29 genpkg_rules()
pankso@2473 30 {
pankso@2473 31 mkdir -p $fs/usr/lib
pankso@2473 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2473 33 cp -a $_pkg/usr/bin $fs/usr
pankso@2473 34 }