1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014
10 PKG_DESCR
:= desktop bus daemon
11 PKG_SECTION
:= sys
/misc
12 PKG_DEPENDS
:= libdbus libexpat
13 PKG_BUILDDEP
:= expat util-linux
15 PKG_URL
:= http
://dbus.freedesktop.org
/
16 PKG_SITES
:= http
://dbus.freedesktop.org
/releases
/dbus
/
20 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
22 PKG_SUBPKGS
:= DBUS LIBDBUS
23 PKGSD_LIBDBUS
:= DBUS library
24 PKGSC_LIBDBUS
:= libs
/misc
25 PKGSS_LIBDBUS
:= libexpat libuuid
27 include ${ADK_TOPDIR}/mk
/package.mk
29 $(eval
$(call PKG_template
,DBUS
,dbus
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
30 $(eval
$(call PKG_template
,LIBDBUS
,libdbus
,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBDBUS},${PKGSD_LIBDBUS},${PKGSC_LIBDBUS},${PKG_OPTS}))
32 TARGET_LDFLAGS
+= -luuid
33 CONFIGURE_ARGS
+= --disable-tests \
34 --disable-abstract-sockets \
36 --disable-verbose-mode \
37 --with-session-socket-dir
=/var
/tmp \
42 --disable-doxygen-docs
43 CONFIGURE_ENV
+= ac_cv_have_abstract_sockets
=no
46 ${INSTALL_DIR} $(STAGING_TARGET_DIR
)/usr
/include/dbus-1.0
/dbus
47 $(CP
) $(WRKBUILD
)/dbus
/dbus-arch-deps.h \
48 $(STAGING_TARGET_DIR
)/usr
/include/dbus-1.0
/dbus
51 ${INSTALL_DIR} ${IDIR_LIBDBUS}/usr
/lib
52 ${CP} ${WRKINST}/usr
/lib
/libdbus-1.so
* ${IDIR_LIBDBUS}/usr
/lib
55 ${INSTALL_DIR} ${IDIR_DBUS}/etc
${IDIR_DBUS}/usr
/share \
56 ${IDIR_DBUS}/usr
/bin
${IDIR_DBUS}/usr
/libexec
57 ${INSTALL_BIN} ${WRKINST}/usr
/libexec
/dbus-daemon-launch-helper \
58 ${IDIR_DBUS}/usr
/libexec
/
59 ${CP} ${WRKINST}/etc
/dbus-1
${IDIR_DBUS}/etc
60 ${CP} ${WRKINST}/usr
/share
/dbus-1
${IDIR_DBUS}/usr
/share
61 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/dbus-daemon
${IDIR_DBUS}/usr
/bin
62 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/dbus-launch
${IDIR_DBUS}/usr
/bin
63 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/dbus-uuidgen
${IDIR_DBUS}/usr
/bin
64 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/dbus-send
${IDIR_DBUS}/usr
/bin
65 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/dbus-monitor
${IDIR_DBUS}/usr
/bin
66 # workaround for dev subpackage
67 ${INSTALL_DIR} $(IDIR_DBUS_DEV
)/usr
/include/dbus-1.0
/dbus
68 $(CP
) $(WRKBUILD
)/dbus
/dbus-arch-deps.h \
69 $(IDIR_DBUS_DEV
)/usr
/include/dbus-1.0
/dbus
71 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk