-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
62 lines (47 loc) · 1.27 KB
/
Makefile
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright (C) 2012-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fcgiwrap
PKG_VERSION:=1.1.0
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/gnosek/fcgiwrap.git
PKG_SOURCE_DATE:=2017-09-08
PKG_SOURCE_VERSION:=99c942c90063c73734e56bacaa65f947772d9186
#PKG_MIRROR_HASH:=
PKG_MAINTAINER:=yhfudev
PKG_LICENSE:=MIT
PKG_BUILD_DIR:=$(BUILD_DIR)/fcgiwrap-$(PKG_VERSION)
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
CONFIGURE_ARGS += \
--with-systemd
include $(INCLUDE_DIR)/package.mk
define Package/fcgiwrap
SECTION:=net
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=fcgiwrap for web server
URL:=https://github.com/gnosek/fcgiwrap.git
DEPENDS:=+spawn-fcgi +fcgi
MENU:=0
endef
define Package/fcgiwrap/description
Simple FastCGI wrapper for CGI scripts
endef
TARGET_CFLAGS +=
TARGET_LDFLAGS +=
define Package/fcgiwrap/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fcgiwrap $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/fcgiwrap.init $(1)/etc/init.d/fcgiwrap
endef
define Build/Prepare
$(call Build/Prepare/Default)
endef
$(eval $(call BuildPackage,fcgiwrap))