source: packages/lang/kid/Makefile @ 19848

Last change on this file since 19848 was 19848, checked in by lars, 7 years ago

[packages] Use include_mk

  • Property svn:copyright set to Copyright (C) 2007 OpenWrt.org
File size: 1.1 KB
Line 
1#
2# Copyright (C) 2007-2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=kid
11PKG_VERSION:=0.9.6
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.kid-templating.org/dist/0.9.6/dist
16PKG_MD5SUM:=31e7156698a6f214b4067afb9e13728f
17
18PKG_BUILD_DEPENDS:=python
19
20include $(INCLUDE_DIR)/package.mk
21$(call include_mk, python-package.mk)
22
23define Package/python-kid
24  SUBMENU:=Python
25  SECTION:=lang
26  CATEGORY:=Languages
27  DEPENDS:=+python
28  TITLE:=XML-based Templating
29  URL:=http://www.kid-templating.org/
30endef
31
32define Package/python-kid/description
33 Kid is a simple template language for XML based vocabularies written in
34 Python.
35endef
36
37define PyPackage/python-kid/filespec
38+|$(PYTHON_PKG_DIR)/kid
39-|$(PYTHON_PKG_DIR)/kid/test
40endef
41
42define Build/Compile
43        $(if $(Build/Compile/PyMod),,@echo Python packaging code not found.; false)
44        $(call Build/Compile/PyMod,., \
45                install --prefix="$(PKG_INSTALL_DIR)/usr", \
46        )
47endef
48
49$(eval $(call PyPackage,python-kid))
50$(eval $(call BuildPackage,python-kid))
Note: See TracBrowser for help on using the repository browser.