e1370148aa70389d7ee88ca1137d67157e74e100
[packages.git] / lang / python-edje / 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-edje
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 include $(INCLUDE_DIR)/package.mk
24 -include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
25
26 define Package/python-edje
27   SUBMENU:=Python
28   SECTION:=lang
29   CATEGORY:=Languages
30   TITLE:=python-edje
31   DEPENDS:=python-core edje
32 endef
33
34 define Package/python-edje/description
35   edje python bindings
36 endef
37
38 define Build/Compile
39         $(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
40 endef
41
42 define Package/python-edje/install
43         $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
44         $(CP) \
45             $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
46             $(1)$(PYTHON_PKG_DIR)
47 endef
48
49 $(eval $(call BuildPackage,python-edje))