af007aa600081f1fc12123f0b47a4206aae3996a
[packages.git] / lang / kid / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8  
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=kid
12 PKG_VERSION:=0.9.6
13 PKG_RELEASE:=1
14
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
18
19 include $(INCLUDE_DIR)/package.mk
20 include ../python/python-package.mk
21
22 define PyPackage/python-kid
23  TITLE:=XML-based Templating
24  URL:=http://www.kid-templating.org/
25 endef
26
27 define PyPackage/python-kid/description
28  Kid is a simple template language for XML based vocabularies written in 
29  Python.
30 endef
31
32 define PyPackage/python-kid/filespec
33 +|$(PYTHON_PKG_DIR)/kid
34 -|$(PYTHON_PKG_DIR)/kid/test
35 endef
36
37 define Build/Compile
38         $(call Build/Compile/PyMod,., \
39                 install --prefix="$(PKG_INSTALL_DIR)/usr", \
40         )
41 endef
42
43 $(eval $(call PyPackage,python-kid))