You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.6 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=uwsgi-cgi
  3. PKG_VERSION:=2.0.17
  4. PKG_RELEASE:=5
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL:=https://github.com/unbit/uwsgi
  7. PKG_SOURCE_DATE:=2018-02-26
  8. PKG_SOURCE_VERSION:=50ffc6b28a7a84e273fb2b79c8d657b45887fe87
  9. PKG_MIRROR_HASH:=7ffb9b361ff5dae5268181b8eabfbc56e5a5cf2c9a4439a728c115749de97001
  10. PKG_LICENSE:=GPL2 + linking exception
  11. PKG_LICENSE_FILES:=LICENSE
  12. PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
  13. include $(INCLUDE_DIR)/package.mk
  14. include $(TOPDIR)/feeds/packages/lang/python/python-package.mk
  15. define Package/uwsgi-cgi
  16. SECTION:=net
  17. CATEGORY:=Network
  18. SUBMENU:=Web Servers/Proxies
  19. TITLE:=The uWSGI server
  20. URL:=http://unbit.com/
  21. DEPENDS:=+libopenssl +libpcre +jansson +libuuid +libxml2
  22. endef
  23. define Package/uwsgi-cgi-luci-support
  24. SECTION:=net
  25. CATEGORY:=Network
  26. SUBMENU:=Web Servers/Proxies
  27. TITLE:=Support files for LuCI on Nginx
  28. URL:=http://unbit.com/
  29. DEPENDS:=+uwsgi-cgi
  30. endef
  31. define Package/uwsgi-cgi/description
  32. The uWSGI project build with cgi profile
  33. endef
  34. define Build/Compile
  35. $(call Build/Compile/Default,PROFILE=cgi)
  36. endef
  37. define Package/uwsgi-cgi/install
  38. $(INSTALL_DIR) $(1)/usr/sbin
  39. $(INSTALL_BIN) $(PKG_BUILD_DIR)/uwsgi $(1)/usr/sbin/
  40. endef
  41. define Package/uwsgi-cgi-luci-support/install
  42. $(INSTALL_DIR) $(1)/etc/init.d
  43. $(INSTALL_BIN) ./files-luci-support/uwsgi.init $(1)/etc/init.d/uwsgi
  44. $(INSTALL_DIR) $(1)/etc/uwsgi
  45. $(INSTALL_BIN) ./files-luci-support/uwsgi.conf $(1)/etc/uwsgi/uwsgi.conf
  46. $(INSTALL_DIR) $(1)/etc/nginx
  47. endef
  48. $(eval $(call BuildPackage,uwsgi-cgi))
  49. $(eval $(call BuildPackage,uwsgi-cgi-luci-support))