Branch oldpackages for 14.07
[14.07/packages.git] / lang / python-eeml / Makefile
1 #
2 # Copyright (C) 2008-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-eeml
11 PKG_VERSION:=20111202
12 PKG_RELEASE:=1
13 PKG_REV:=9f0173e56a0b2a0ae7d3a2c76eb5428381912ac6
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=git://github.com/petervizi/python-eeml.git
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=$(PKG_REV)
19 PKG_SOURCE_PROTO:=git
20
21 PKG_BUILD_DEPENDS:=python
22
23 include $(INCLUDE_DIR)/package.mk
24 $(call include_mk, python-package.mk)
25
26 define Package/python-eeml
27   SUBMENU:=Python
28   SECTION:=lang
29   CATEGORY:=Languages
30   TITLE:=python-eeml
31   URL:=http://petervizi.github.com/python-eeml/
32   DEPENDS:=+python +distribute
33 endef
34
35 define Package/python-eeml/description
36   A python package for generating eeml documents.
37 endef
38
39 define Build/Compile
40         $(call Build/Compile/PyMod,., \
41                 install --prefix="/usr" --root="$(PKG_INSTALL_DIR)", \
42         )
43 endef
44
45 define Package/python-eeml/install
46         $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
47         $(CP) \
48             $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
49             $(1)$(PYTHON_PKG_DIR)/
50 endef
51
52 $(eval $(call BuildPackage,python-eeml))