do depmod during modules_install (trying to fix linux-git with udev)
[openadk.git] / package / dbus / Makefile
blobf17f39e8e7b3673b54a8113d49f4aefe3dc47256
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
6 PKG_NAME:= dbus
7 PKG_VERSION:= 1.8.18
8 PKG_RELEASE:= 1
9 PKG_HASH:= 36f2eb9c777a3c71562573da36a147e900a642afcd44d2b0470d992a4898c4f2
10 PKG_DESCR:= desktop bus daemon
11 PKG_SECTION:= sys/misc
12 PKG_DEPENDS:= libdbus libexpat
13 PKG_BUILDDEP:= expat util-linux
14 PKG_URL:= http://dbus.freedesktop.org/
15 PKG_SITES:= http://dbus.freedesktop.org/releases/dbus/
16 PKG_LIBNAME:= libdbus
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
21 PKG_SUBPKGS:= DBUS LIBDBUS
22 PKGSD_LIBDBUS:= DBUS library
23 PKGSC_LIBDBUS:= libs/misc
24 PKGSS_LIBDBUS:= libexpat libuuid
26 include ${ADK_TOPDIR}/mk/package.mk
28 $(eval $(call PKG_template,DBUS,dbus,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
29 $(eval $(call PKG_template,LIBDBUS,libdbus,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBDBUS},${PKGSD_LIBDBUS},${PKGSC_LIBDBUS},${PKG_OPTS}))
31 TARGET_LDFLAGS+= -luuid
32 CONFIGURE_ARGS+= --disable-tests \
33 --disable-abstract-sockets \
34 --enable-checks \
35 --disable-verbose-mode \
36 --with-session-socket-dir=/var/tmp \
37 --disable-kqueue \
38 --disable-systemd \
39 --disable-xml-docs \
40 --without-x \
41 --disable-doxygen-docs
42 CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
44 pre-install:
45 ${INSTALL_DIR} $(STAGING_TARGET_DIR)/usr/include/dbus-1.0/dbus
46 $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
47 $(STAGING_TARGET_DIR)/usr/include/dbus-1.0/dbus
49 libdbus-install:
50 ${INSTALL_DIR} ${IDIR_LIBDBUS}/usr/lib
51 ${CP} ${WRKINST}/usr/lib/libdbus-1.so* ${IDIR_LIBDBUS}/usr/lib
53 dbus-install:
54 ${INSTALL_DIR} ${IDIR_DBUS}/etc \
55 ${IDIR_DBUS}/usr/bin ${IDIR_DBUS}/usr/libexec
56 ${INSTALL_BIN} ${WRKINST}/usr/libexec/dbus-daemon-launch-helper \
57 ${IDIR_DBUS}/usr/libexec/
58 ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc
59 ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin
60 ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin
61 ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-uuidgen ${IDIR_DBUS}/usr/bin
62 ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-send ${IDIR_DBUS}/usr/bin
63 ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-monitor ${IDIR_DBUS}/usr/bin
64 # workaround for dev subpackage
65 ${INSTALL_DIR} $(IDIR_DBUS_DEV)/usr/include/dbus-1.0/dbus
66 $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
67 $(IDIR_DBUS_DEV)/usr/include/dbus-1.0/dbus
69 include ${ADK_TOPDIR}/mk/pkg-bottom.mk