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_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_BUILD_DEPENDS
:=python
21 include $(INCLUDE_DIR
)/package.mk
22 $(call include_mk
, python-package.mk
)
24 define Package
/python-webpy
31 MAINTAINER
:=Hamish Guthrie
<hcg@openwrt.org
>
34 define Package
/python-web.py
/description
35 Think about the ideal way to write a web app. Write the code to make it happen.
39 $(INSTALL_DIR
) $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)
41 $(PKG_BUILD_DIR
)/web \
42 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)
45 define Package
/python-webpy
/install
46 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
48 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/web \
52 $(eval
$(call BuildPackage
,python-webpy
))