1SUMMARY = "FastCGI wrapper for CGI scripts"
2DESCRIPTION = "FcgiWrap is a simple server for running CGI applications over FastCGI. Fcgiwrap can be used together with Nginx to serve CGI or Perl scripts"
3HOMEPAGE = "https://github.com/gnosek/fcgiwrap"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a95d02d614a3a0232d4e6e51b7963c5b"
7
8DEPENDS = "fcgi"
9
10SRC_URI = "git://github.com/gnosek/fcgiwrap.git;protocol=https;branch=${BRANCH} \
11           file://0001-Fix-implicit-fallthrough-warning.patch \
12           "
13BRANCH = "master"
14SRCREV = "99c942c90063c73734e56bacaa65f947772d9186"
15
16S = "${WORKDIR}/git"
17CFLAGS =+ "-I${B}"
18EXTRA_OEMAKE = "VPATH=${S}"
19
20inherit autotools pkgconfig
21
22do_install() {
23    install -Dm 755 ${B}/fcgiwrap ${D}${sbindir}/fcgiwrap
24}
25