5ba276de2a
Add package fcgiwrap from https://nginx.localdomain.pl/wiki/FcgiWrap fcgiwrap is a simple server for running CGI applications over FastCGI. It hopes to provide clean CGI support to Nginx (and other web servers that may need it). Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
926 B
Makefile
33 lines
926 B
Makefile
################################################################################
|
|
#
|
|
# fcgiwrap
|
|
#
|
|
################################################################################
|
|
|
|
FCGIWRAP_VERSION = 1.1.0
|
|
FCGIWRAP_SITE = $(call github,gnosek,fcgiwrap,$(FCGIWRAP_VERSION))
|
|
FCGIWRAP_DEPENDENCIES = host-pkgconf libfcgi
|
|
FCGIWRAP_LICENSE = MIT
|
|
FCGIWRAP_LICENSE_FILES = fcgiwrap.c
|
|
FCGIWRAP_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
FCGIWRAP_DEPENDENCIES += systemd
|
|
FCGIWRAP_CONF_OPTS += --with-systemd
|
|
else
|
|
FCGIWRAP_CONF_OPTS += --without-systemd
|
|
endif
|
|
|
|
# libfcgi needs libm and fcgiwrap does not use libtool or pkgconf to
|
|
# detect libfcgi, so we need to add -lm explicitely when using static
|
|
# libs.
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
FCGIWRAP_CONF_OPTS += LIBS=-lm
|
|
endif
|
|
|
|
# fcgiwrap uses Autoconf, but not Automake, so we need to provide
|
|
# these to make.
|
|
FCGIWRAP_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
|
|
|
|
$(eval $(autotools-package))
|