[packages] python-flup: Add package python-flup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33370 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bcd857c6ef
commit
5c4d647d85
52
lang/python-flup/Makefile
Normal file
52
lang/python-flup/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# Copyright (C) 2012 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=flup
|
||||
PKG_VERSION:=1.0.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=flup-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://pypi.python.org/packages/source/f/flup/
|
||||
PKG_MD5SUM:=24dad7edc5ada31dddd49456ee8d5254
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_BUILD_DEPENDS:=python
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
$(call include_mk, python-package.mk)
|
||||
|
||||
define Package/python-flup
|
||||
SUBMENU:=Python
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=python-flup
|
||||
URL:=http://pypi.python.org/pypi/flup/
|
||||
DEPENDS:=+python
|
||||
MAINTAINER:=Hamish Guthrie <hcg@openwrt.org>
|
||||
endef
|
||||
|
||||
define Package/python-flup/description
|
||||
Random assortment of WSGI servers
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(INSTALL_DIR) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
|
||||
$(CP) \
|
||||
$(PKG_BUILD_DIR)/flup \
|
||||
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)
|
||||
endef
|
||||
|
||||
define Package/python-flup/install
|
||||
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/flup \
|
||||
$(1)$(PYTHON_PKG_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,python-flup))
|
Loading…
x
Reference in New Issue
Block a user