From a61735eb7782891c89b036e2bc674d8bdce7764e Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Tue, 11 Sep 2012 16:20:10 +0000 Subject: [PATCH] [packages] python-webpy: Add package python-webpy SVN-Revision: 33372 --- lang/python-webpy/Makefile | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 lang/python-webpy/Makefile diff --git a/lang/python-webpy/Makefile b/lang/python-webpy/Makefile new file mode 100644 index 0000000000..8f3c7afadc --- /dev/null +++ b/lang/python-webpy/Makefile @@ -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:=web.py +PKG_VERSION:=0.37 +PKG_RELEASE:=2 + +PKG_SOURCE:=web.py-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://webpy.org/static/ +PKG_MD5SUM:=93375e3f03e74d6bf5c5096a4962a8db + +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-webpy + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=python-webpy + URL:=http://webpy.org + DEPENDS:=+python + MAINTAINER:=Hamish Guthrie +endef + +define Package/python-web.py/description + Think about the ideal way to write a web app. Write the code to make it happen. +endef + +define Build/Compile + $(INSTALL_DIR) $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_BUILD_DIR)/web \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR) +endef + +define Package/python-webpy/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/web \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-webpy)) -- 2.30.2