diff --git a/srcpkgs/fcgi-devel b/srcpkgs/fcgi-devel new file mode 120000 index 0000000000..e134200d01 --- /dev/null +++ b/srcpkgs/fcgi-devel @@ -0,0 +1 @@ +fcgi \ No newline at end of file diff --git a/srcpkgs/fcgi/patches/gcc44-fix-include.patch b/srcpkgs/fcgi/patches/gcc44-fix-include.patch new file mode 100644 index 0000000000..1cd1c93e7f --- /dev/null +++ b/srcpkgs/fcgi/patches/gcc44-fix-include.patch @@ -0,0 +1,17 @@ +Author: Tatsuki Sugiura +Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504963 +Bug-Debian: http://bugs.debian.org/504963 +Forwarded: no +Last-Update: 2010-02-08 + +Index: libfcgi/libfcgi/fcgio.cpp +=================================================================== +--- libfcgi/fcgio.cpp.orig 2010-01-23 19:13:53.000000000 +0900 ++++ libfcgi/fcgio.cpp 2010-01-23 19:13:55.000000000 +0900 +@@ -22,6 +22,7 @@ + #define DLLAPI __declspec(dllexport) + #endif + ++#include + #include + #include "fcgio.h" diff --git a/srcpkgs/fcgi/template b/srcpkgs/fcgi/template new file mode 100644 index 0000000000..9200bb84e5 --- /dev/null +++ b/srcpkgs/fcgi/template @@ -0,0 +1,35 @@ +# Template file for 'fcgi' +pkgname=fcgi +version=2.4.0 +revision=1 +makedepends="" +hostmakedepends="libtool autoconf automake" +short_desc="FastCGI is a fast, open, and secure Web server interface" +maintainer="Enno Boland " +license="custom" +homepage="http://www.fastcgi.com/" +distfiles="http://ftp.de.debian.org/debian/pool/main/libf/libfcgi/libfcgi_${version}.orig.tar.gz" +checksum=c21f553f41141a847b2f1a568ec99a3068262821e4e30bc9d4b5d9091aa0b5f7 +wrksrc="libfcgi-${version}.orig" +build_style=gnu-configure +disable_parallel_build=yes + + +pre_configure() { + libtoolize -f + aclocal + autoconf + automake --foreign +} +post_install() { + vinstall LICENSE.TERMS 644 "usr/share/licenses/${pkgname}/LICENSE" +} + +fcgi-devel_package() { + depends="fcgi>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + } +} +