fix dependencies in python EFL bindings
[openwrt/svn-archive/archive.git] / lang / python-ecore / Makefile
1 #
2 # Copyright (C) 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 # $Id: Makefile 13786 2008-12-31 15:02:25Z lars $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=python-ecore
12
13 PKG_REV:=37637
14 PKG_VERSION:=r$(PKG_REV)
15 PKG_RELEASE:=1
16
17 PKG_SOURCE_PROTO:=svn
18 PKG_SOURCE_VERSION:=$(PKG_REV)
19 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
20 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
21 PKG_SOURCE_URL:=http://svn.enlightenment.org/svn/e/trunk/BINDINGS/python/$(PKG_NAME)
22
23 PKG_BUILD_DEPENDS:=cython python
24
25 include $(INCLUDE_DIR)/package.mk
26 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
27
28 define Package/python-ecore
29 SUBMENU:=Python
30 SECTION:=lang
31 CATEGORY:=Languages
32 TITLE:=python-ecore
33 DEPENDS:=python-core ecore evas eina python-evas
34 endef
35
36 define Package/python-ecore/description
37 ecore python bindings
38 endef
39
40 define Build/Compile
41 $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
42 endef
43
44 define Package/python-ecore/install
45 $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
46 $(CP) \
47 $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
48 $(1)$(PYTHON_PKG_DIR)
49 endef
50
51 $(eval $(call BuildPackage,python-ecore))