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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.kid-templating.org
/dist/0.9.6/dist
17 PKG_MD5SUM
:=31e7156698a6f214b4067afb9e13728f
19 PKG_BUILD_DEPENDS
:=python
21 include $(INCLUDE_DIR
)/package.mk
22 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
24 define Package
/python-kid
29 TITLE
:=XML-based Templating
30 URL
:=http
://www.kid-templating.org
/
33 define Package
/python-kid
/description
34 Kid is a simple template language for XML based vocabularies written in
38 define PyPackage
/python-kid
/filespec
39 +|
$(PYTHON_PKG_DIR
)/kid
40 -|
$(PYTHON_PKG_DIR
)/kid
/test
44 $(if
$(Build
/Compile
/PyMod
),,@echo Python packaging code not found.
; false
)
45 $(call Build
/Compile
/PyMod
,.
, \
46 install --prefix="$(PKG_INSTALL_DIR)/usr", \
50 $(eval
$(call PyPackage
,python-kid
))
51 $(eval
$(call BuildPackage
,python-kid
))