Browse Source

spawn-fcgi: switch to CMake

Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
e349a3216c
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      net/spawn-fcgi/Makefile

+ 6
- 4
net/spawn-fcgi/Makefile View File

@ -9,18 +9,20 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=spawn-fcgi
PKG_VERSION:=1.6.4
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://download.lighttpd.net/spawn-fcgi/releases-1.6.x/
PKG_HASH:=423b0c317e0084773b483985cc21930c4b8dfcb411f7353d6ee6fc41d9cb9d45
PKG_LICENSE:=BSD-3c
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=COPYING
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/spawn-fcgi
SUBMENU:=Web Servers/Proxies
@ -36,7 +38,7 @@ endef
define Package/spawn-fcgi/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/spawn-fcgi $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/spawn-fcgi $(1)/usr/bin/
endef
$(eval $(call BuildPackage,spawn-fcgi))

Loading…
Cancel
Save