2 # Copyright (C) 2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=web.py-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://webpy.org
/static
/
16 PKG_MD5SUM
:=93375e3f03e74d6bf5c5096a4962a8db
18 PKG_LICENSE
:=PUBLICDOMAIN BSD
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 PKG_BUILD_DEPENDS
:=python
24 include $(INCLUDE_DIR
)/package.mk
25 $(call include_mk
, python-package.mk
)
27 define Package
/python-webpy
34 MAINTAINER
:=Hamish Guthrie
<hcg@openwrt.org
>
37 define Package
/python-web.py
/description
38 Think about the ideal way to write a web app. Write the code to make it happen.
42 $(INSTALL_DIR
) $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)
44 $(PKG_BUILD_DIR
)/web \
45 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)
48 define Package
/python-webpy
/install
49 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
51 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/web \
55 $(eval
$(call BuildPackage
,python-webpy
))