Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= dbus
  7. PKG_VERSION:= 1.0.2
  8. PKG_RELEASE:= 7
  9. PKG_MD5SUM:= 0552a9b54beb4a044951b7cdbc8fc855
  10. MASTER_SITES:= http://dbus.freedesktop.org/releases/dbus/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,DBUS,dbus,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ARGS+= --disable-tests \
  15. --disable-abstract-sockets \
  16. --without-x \
  17. --enable-checks \
  18. --with-xml=expat \
  19. --disable-dnotify \
  20. --disable-kqueue \
  21. --disable-xml-docs \
  22. --disable-doxygen-docs
  23. CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= confprog auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_DBUS}/etc
  28. ${INSTALL_DIR} ${IDIR_DBUS}/usr/lib
  29. ${INSTALL_DIR} ${IDIR_DBUS}/usr/bin
  30. ${INSTALL_DIR} $(STAGING_DIR)/usr/include/dbus-1.0/dbus
  31. ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc/
  32. ${CP} ${WRKINST}/usr/lib/libdbus-1.so.* ${IDIR_DBUS}/usr/lib/
  33. $(CP) $(WRKINST)/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h \
  34. $(STAGING_DIR)/usr/include/dbus-1.0/dbus/
  35. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin/
  36. ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin/
  37. ${INSTALL_DIR} ${IDIR_DBUS}/etc/init.d
  38. ${INSTALL_BIN} ./files/dbus.init \
  39. ${IDIR_DBUS}/etc/init.d/dbus
  40. include ${TOPDIR}/mk/pkg-bottom.mk