usbmuxd: Update to latest git
[feed/packages.git] / lang / python / flup / Makefile
1 #
2 # Copyright (C) 2007-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=flup
11 PKG_VERSION:=1.0.3
12 PKG_RELEASE:=1
13 PKG_LICENSE:=BSD-3-Clause
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/f/flup
17 PKG_HASH:=5eb09f26eb0751f8380d8ac43d1dfb20e1d42eca0fa45ea9289fa532a79cd159
18
19 include $(INCLUDE_DIR)/package.mk
20 include ../python-package.mk
21
22 define Package/flup
23 SUBMENU:=Python
24 SECTION:=lang
25 CATEGORY:=Languages
26 MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
27 TITLE:=Random assortment of WSGI servers
28 URL:=https://www.saddi.com/software/flup/
29 DEPENDS:=+python
30 endef
31
32 define Package/flup/description
33 Random assortment of WSGI servers
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
38 endef
39
40 define Package/flup/install
41 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
42 $(CP) \
43 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
44 $(1)$(PYTHON_PKG_DIR)
45 endef
46
47 $(eval $(call BuildPackage,flup))