summaryrefslogtreecommitdiff
path: root/package/dbus-python/Makefile
blob: c33a8eb8a9c755d771ab4cdd2f672c7da447af98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		dbus-python
PKG_VERSION:=		1.2.0
PKG_RELEASE:=		2
PKG_MD5SUM:=		b09cd2d1a057cc432ce944de3fc06bf7
PKG_DESCR:=		python bindings for dbus
PKG_SECTION:=		dev/python
PKG_DEPENDS:=		dbus dbus-glib
PKG_BUILDDEP:=		dbus dbus-glib
PKG_URL:=		http://dbus.freedesktop.org/doc/dbus-python/
PKG_SITES:=		http://dbus.freedesktop.org/releases/dbus-python/

PKG_CFLINE_DBUS_PYTHON:=	depends on ADK_BROKEN

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,DBUS_PYTHON,dbus-python,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

dbus-python-install:
	$(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/
	$(CP) $(WRKINST)/usr/lib/python2.7/site-packages/*.so \
		$(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/
	$(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus
	$(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/*.py \
		$(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/
	$(INSTALL_DIR) $(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop
	$(CP) $(WRKINST)/usr/lib/python2.7/site-packages/dbus/mainloop/*.py \
		$(IDIR_DBUS_PYTHON)/usr/lib/python2.7/site-packages/dbus/mainloop

include ${ADK_TOPDIR}/mk/pkg-bottom.mk