2 # Copyright (C) 2007-2008 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:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.kid-templating.org/dist/0.9.6/dist
16 PKG_MD5SUM:=31e7156698a6f214b4067afb9e13728f
18 PKG_BUILD_DEPENDS:=python
20 include $(INCLUDE_DIR)/package.mk
21 $(call include_mk, python-package.mk)
23 define Package/python-kid
28 TITLE:=XML-based Templating
29 URL:=http://www.kid-templating.org/
32 define Package/python-kid/description
33 Kid is a simple template language for XML based vocabularies written in
37 define PyPackage/python-kid/filespec
38 +|$(PYTHON_PKG_DIR)/kid
39 -|$(PYTHON_PKG_DIR)/kid/test
43 $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
44 $(call Build/Compile/PyMod,., \
45 install --prefix="$(PKG_INSTALL_DIR)/usr", \
49 $(eval $(call PyPackage,python-kid))
50 $(eval $(call BuildPackage,python-kid))