summaryrefslogtreecommitdiff
path: root/repo/fcgi/fcgi.xibuild
blob: f02241139960fbbd157253c5a441a9e53dd2b958 (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
#!/bin/sh

NAME="fcgi"
DESC="FAST CGI(fcgi) is a language independent, high performant extension to CGI"

MAKEDEPS="libtool autoconf automake"

PKG_VER=2.4.2
SOURCE="https://github.com/FastCGI-Archives/fcgi2/archive/$PKG_VER.tar.gz"

build() {
	export LIBS="-lm"
	./autogen.sh
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-shared
	make
}

package() {
	make DESTDIR="$PKG_DEST" install
}