blob: 61447d72e95660c3fb4d4d10e0a7bc2d75f9a456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=fcgi
pkgver=2.4.0
pkgrel=3
pkgdesc="FAST CGI(fcgi) is a language independent, high performant extension to CGI"
url="http://www.fastcgi.com"
arch="all"
license="GPL"
depends=""
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
export LIBS="$LIBS -lm"
# seems like there is no way to disable c++ from configure script
# the row below helps us to build even if g++ is installed on system
export CXX=false
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
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"
|