2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 13786 2008-12-31 15:02:25Z lars $
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=python-e_dbus
14 PKG_VERSION
:=r
$(PKG_REV
)
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
)
23 PKG_BUILD_DEPENDS
:=cython python
25 include $(INCLUDE_DIR
)/package.mk
26 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
28 define Package
/python-e_dbus
33 DEPENDS
:=python-core edbus dbus-python
36 define Package
/python-e_dbus
/description
37 e_dbus python bindings
41 $(call Build
/Compile
/PyMod
,,install --prefix="$(PKG_INSTALL_DIR)/usr")
44 define Package
/python-e_dbus
/install
45 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
47 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
51 $(eval
$(call BuildPackage
,python-e_dbus
))