xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-webserver/recipes-support/fcgiwrap/fcgiwrap_git.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "FastCGI wrapper for CGI scripts"
2*4882a593SmuzhiyunDESCRIPTION = "FcgiWrap is a simple server for running CGI applications over FastCGI. Fcgiwrap can be used together with Nginx to serve CGI or Perl scripts"
3*4882a593SmuzhiyunHOMEPAGE = "https://github.com/gnosek/fcgiwrap"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunLICENSE = "MIT"
6*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=a95d02d614a3a0232d4e6e51b7963c5b"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunDEPENDS = "fcgi"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunSRC_URI = "git://github.com/gnosek/fcgiwrap.git;protocol=https;branch=${BRANCH} \
11*4882a593Smuzhiyun           file://0001-Fix-implicit-fallthrough-warning.patch \
12*4882a593Smuzhiyun           "
13*4882a593SmuzhiyunBRANCH = "master"
14*4882a593SmuzhiyunSRCREV = "99c942c90063c73734e56bacaa65f947772d9186"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunS = "${WORKDIR}/git"
17*4882a593SmuzhiyunCFLAGS =+ "-I${B}"
18*4882a593SmuzhiyunEXTRA_OEMAKE = "VPATH=${S}"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuninherit autotools pkgconfig
21*4882a593Smuzhiyun
22*4882a593Smuzhiyundo_install() {
23*4882a593Smuzhiyun    install -Dm 755 ${B}/fcgiwrap ${D}${sbindir}/fcgiwrap
24*4882a593Smuzhiyun}
25