1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE_URL
=https
://codeload.github.com
/unbit
/uwsgi
/tar.gz
/$(PKG_VERSION
)?
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
9 PKG_HASH
:=d2318235c74665a60021a4fc7770e9c2756f9fc07de7b8c22805efe85b5ab277
10 PKG_BUILD_DIR
:=$(BUILD_DIR
)/uwsgi-
$(PKG_VERSION
)
12 PKG_LICENSE
:=GPL-2.0
-or-later
13 PKG_LICENSE_FILES
:=LICENSE
14 PKG_MAINTAINER
:=Ansuel Smith
<ansuelsmth@gmail.com
>
16 include $(INCLUDE_DIR
)/package.mk
17 include $(TOPDIR
)/feeds
/packages
/lang
/python
/python-package.mk
19 define Package
/uwsgi-cgi
22 SUBMENU
:=Web Servers
/Proxies
23 TITLE
:=The uWSGI server
24 URL
:=http
://unbit.com
/
25 DEPENDS
:=+libcap
+jansson
+libuuid
28 define Package
/uwsgi-cgi-luci-support
31 SUBMENU
:=Web Servers
/Proxies
32 TITLE
:=Support files for LuCI on Nginx
33 URL
:=http
://unbit.com
/
37 define Package
/uwsgi-cgi
/description
38 The uWSGI project build with cgi profile
42 CPP
=$(TARGET_CROSS
)cpp
45 $(call Build
/Compile
/Default
,PROFILE
=cgi
)
48 define Package
/uwsgi-cgi
/install
49 $(INSTALL_DIR
) $(1)/usr
/sbin
50 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/uwsgi
$(1)/usr
/sbin
/
53 define Package
/uwsgi-cgi-luci-support
/install
54 $(INSTALL_DIR
) $(1)/etc
/init.d
55 $(INSTALL_BIN
) .
/files-luci-support
/uwsgi.init
$(1)/etc
/init.d
/uwsgi
56 $(INSTALL_BIN
) .
/files-luci-support
/uwsgi.conf
$(1)/etc
/uwsgi.conf
59 $(eval
$(call BuildPackage
,uwsgi-cgi
))
60 $(eval
$(call BuildPackage
,uwsgi-cgi-luci-support
))