blob: 0350e0d9f4e5f246f5fcb2e732739c1e5ed8038f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#
# 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_LICENSE:=PUBLICDOMAIN BSD
PKG_LICENSE_FILES:=
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 <hcg@openwrt.org>
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))
|