wok-4.x annotate fcgi/receipt @ rev 5296

Up: tazwok (3.2)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 23:31:42 2010 +0200 (2010-04-18)
parents e06cd5eac01a
children ef17f8f40a10
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"
jozee@4936 11 TAGS="CGI"
pankso@2473 12
pankso@2473 13 # Rules to configure and make the package.
pankso@2473 14 compile_rules()
pankso@2473 15 {
erjo@4215 16 # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654)
erjo@4215 17 busybox patch -p0 -i stuff/fcgi-2.4.0_gcc4.u
erjo@4215 18
pankso@2473 19 cd $src
pankso@2473 20 ./configure \
pankso@2473 21 --prefix=/usr \
pankso@2473 22 --infodir=/usr/share/info \
pankso@2473 23 --mandir=/usr/share/man \
pankso@2473 24 $CONFIGURE_ARGS &&
pankso@2473 25 make &&
pankso@2473 26 make DESTDIR=$PWD/_pkg install
pankso@2473 27 }
pankso@2473 28
pankso@2473 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2473 30 genpkg_rules()
pankso@2473 31 {
pankso@2473 32 mkdir -p $fs/usr/lib
pankso@2473 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2473 34 cp -a $_pkg/usr/bin $fs/usr
pankso@2473 35 }