From 5c61d6879773387ed9685a3e5abeec3f024b5a13 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 30 Apr 2010 18:50:28 +0200 Subject: [PATCH] Added mod_fastcgi-2.4.6 build template. --HG-- extra : convert_revision : e4b26ebcf9db85c8576b98bef9d2c084fc19ce92 --- srcpkgs/mod_fastcgi/template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 srcpkgs/mod_fastcgi/template diff --git a/srcpkgs/mod_fastcgi/template b/srcpkgs/mod_fastcgi/template new file mode 100644 index 0000000000..0ff24a99b7 --- /dev/null +++ b/srcpkgs/mod_fastcgi/template @@ -0,0 +1,34 @@ +# Template file for 'mod_fastcgi' +pkgname=mod_fastcgi +version=2.4.6 +distfiles="http://www.fastcgi.com/dist/${pkgname}-${version}.tar.gz" +build_style=gnu_makefile +short_desc="Apache module to support the FastCGI protocol" +maintainer="Juan RP " +checksum=a5a887eecc8fe13e4cb1cab4d140188a3d2b5e6f337f8a1cce88ca441ddbe689 +long_desc=" + This is a FastCGI module for the Apache 2.x web server. FastCGI is an open + standard for communicating between a web server and a long-running web + application. CGI scripts supporting FastCGI can be started as a daemon and + process multiple requests without restarting. This is particularly useful for + scripts written in languages like Perl, as it saves the cost of recompiling + the scripts and its loaded modules with each invocation." + +Add_dependency run glibc +Add_dependency run apache +Add_dependency build apache-devel + +pre_build() +{ + mv ${wrksrc}/Makefile.AP2 ${wrksrc}/Makefile + sed -e "s|/usr/local/apache2|/usr/libexec/httpd|" \ + -e "s|\(top_srcdir.*=\).*|\1 /usr/share/apache-httpd|" \ + -e "s|\(top_builddir.*=\).*|\1 /usr/share/apache-httpd|" \ + -i ${wrksrc}/Makefile +} + +post_install() +{ + install -D -m644 ${wrksrc}/docs/LICENSE.TERMS \ + ${DESTDIR}/usr/share/licenses/${pkgname}/LICENSE +}