summaryrefslogtreecommitdiffstats
path: root/extra/fcgi/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-03 14:36:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-03 14:36:54 +0000
commit2afd5b8b8e9cabf8cc023fe01891b0ff5a9cc3dd (patch)
tree622e9528da90745c323c3e039caa2ef0a4df3851 /extra/fcgi/APKBUILD
parent2da5714e0bd906d57e69196cb7efec591cb29ee3 (diff)
parent77a5257b2f29b2ab371b6c38190ec1a85485deba (diff)
downloadaports-2afd5b8b8e9cabf8cc023fe01891b0ff5a9cc3dd.tar.bz2
aports-2afd5b8b8e9cabf8cc023fe01891b0ff5a9cc3dd.tar.xz
Merge remote branch 'clandmeter/master'
Diffstat (limited to 'extra/fcgi/APKBUILD')
-rw-r--r--extra/fcgi/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/extra/fcgi/APKBUILD b/extra/fcgi/APKBUILD
new file mode 100644
index 00000000..ff619df7
--- /dev/null
+++ b/extra/fcgi/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+pkgname=fcgi
+pkgver=2.4.0
+pkgrel=0
+pkgdesc="FAST CGI(fcgi) is a language independent, high performant extension to CGI"
+url="http://www.fastcgi.com"
+license="GPL"
+depends="uclibc"
+makedepends=""
+subpackages="$pkgname-dev"
+source="http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz
+20-fcgi-2.4.0-clientdata-pointer.patch
+30-fcgi-2.4.0-html-updates.patch"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ for i in ../*.patch; do
+ msg "Applying $i"
+ patch -p1 < $i || return 1
+ done
+
+ # not sure how to use autotools for this apk
+ # Removed makefile patch and added libs -lm
+ #aclocal || return 1
+ #autoconf || return 1
+ # add missing files so automake doesnt error
+ #touch NEWS AUTHORS ChangeLog || return 1
+ #automake --add-missing || return 1
+ #libtoolize || return 1
+ export LIBS="$LIBS -lm"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-shared \
+ --enable-static
+ make || return 1
+ make DESTDIR="$pkgdir" install
+
+}
+
+md5sums="d15060a813b91383a9f3c66faf84867e fcgi-2.4.0.tar.gz
+d2654525f06451c99b8cdd4cc00a963b 20-fcgi-2.4.0-clientdata-pointer.patch
+f26b536786f70b30a2d91c83d56e944c 30-fcgi-2.4.0-html-updates.patch"