Use this new PyMod template
[openwrt/svn-archive/archive.git] / lang / kid / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=kid
4 PKG_VERSION:=0.9.6
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=http://www.kid-templating.org/dist/0.9.6/dist
9 PKG_MD5SUM:=31e7156698a6f214b4067afb9e13728f
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/kid
18 SECTION:=lang
19 CATEGORY:=Languages
20 TITLE:=Kid
21 DEPENDS:=+python
22 DESCRIPTION:=\
23 Kid is a simple template language for XML based vocabularies written in Python.
24 URL=http://www.kid-templating.org/
25 endef
26
27 define Build/Compile
28 $(call Build/Compile/PyMod,,install)
29 endef
30
31 define Package/kid/install
32 $(CP) -R $(PKG_INSTALL_DIR)/* $(1)
33 endef
34
35 $(eval $(call BuildPackage,kid))