1 include $(TOPDIR
)/rules.mk
8 https
://projects.unbit.it
/downloads \
9 https
://codeload.github.com
/unbit
/uwsgi
/tar.gz
/$(PKG_VERSION
)?
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
11 PKG_HASH
:=4972ac538800fb2d421027f49b4a1869b66048839507ccf0aa2fda792d99f583
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/uwsgi-
$(PKG_VERSION
)
14 PKG_LICENSE
:=GPL-2.0
-or-later
15 PKG_LICENSE_FILES
:=LICENSE
16 PKG_MAINTAINER
:=Ansuel Smith
<ansuelsmth@gmail.com
>
18 include $(INCLUDE_DIR
)/package.mk
19 include $(TOPDIR
)/feeds
/packages
/lang
/python
/python-package.mk
21 define Package
/uwsgi-cgi
24 SUBMENU
:=Web Servers
/Proxies
25 TITLE
:=The uWSGI server
26 URL
:=https
://projects.unbit.it
/uwsgi
27 DEPENDS
:=+libcap
+jansson
+libuuid
30 define Package
/uwsgi-cgi-luci-support
33 SUBMENU
:=Web Servers
/Proxies
34 TITLE
:=Support files for LuCI on Nginx
38 define Package
/uwsgi-cgi
/description
39 The uWSGI project build with cgi profile
43 CPP
=$(TARGET_CROSS
)cpp
46 $(call Build
/Compile
/Default
,PROFILE
=cgi
)
49 define Package
/uwsgi-cgi
/install
50 $(INSTALL_DIR
) $(1)/usr
/sbin
51 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/uwsgi
$(1)/usr
/sbin
/
54 define Package
/uwsgi-cgi-luci-support
/install
55 $(INSTALL_DIR
) $(1)/etc
/init.d
56 $(INSTALL_BIN
) .
/files-luci-support
/uwsgi.init
$(1)/etc
/init.d
/uwsgi
57 $(INSTALL_BIN
) .
/files-luci-support
/uwsgi.conf
$(1)/etc
/uwsgi.conf
60 $(eval
$(call BuildPackage
,uwsgi-cgi
))
61 $(eval
$(call BuildPackage
,uwsgi-cgi-luci-support
))