wok-6.x annotate fcgi/receipt @ rev 9681

Fixed up xorg-dev and xorg-dev-proto.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 06 17:33:24 2011 +0000 (2011-05-06)
parents fb8aceda65ff
children 2325c41c9264
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 &&
slaxemulator@8437 25 make -j1 &&
slaxemulator@8437 26 make -j1 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 }