spawn-fcgi: switch to CMake 12713/head
authorRosen Penev <rosenp@gmail.com>
Sat, 4 Jul 2020 22:06:43 +0000 (15:06 -0700)
committerRosen Penev <rosenp@gmail.com>
Sat, 4 Jul 2020 22:22:53 +0000 (15:22 -0700)
Added PKG_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/spawn-fcgi/Makefile

index bfb9cd9e8a0db9367789020fa816e2686abcdf94..37641046bed9ca63291a346c3e3eaa7e35d53378 100644 (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))