1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= dbus
- PKG_VERSION:= 1.2.16
- PKG_RELEASE:= 1
- PKG_MD5SUM:= c7a47b851ebe02f6726b65b78d1b730b
- PKG_DESCR:= DBUS library
- PKG_SECTION:= net
- PKG_DEPENDS:= libexpat
- PKG_BUILDDEP+= expat
- PKG_URL:= http://dbus.freedesktop.org
- PKG_SITES:= http://dbus.freedesktop.org/releases/dbus/
- ifeq ($(ADK_STATIC),y)
- PKG_OPTS:= libonly
- endif
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,DBUS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- CONFIGURE_STYLE:= gnu
- CONFIGURE_ARGS+= --disable-tests \
- --disable-abstract-sockets \
- --without-x \
- --enable-checks \
- --with-xml=expat \
- --disable-dnotify \
- --disable-kqueue \
- --disable-xml-docs \
- --disable-doxygen-docs
- CONFIGURE_ENV+= ac_cv_have_abstract_sockets=no
- BUILD_STYLE:= auto
- INSTALL_STYLE:= auto
- pre-install:
- ${INSTALL_DIR} $(STAGING_DIR)/usr/include/dbus-1.0/dbus
- $(CP) $(WRKBUILD)/dbus/dbus-arch-deps.h \
- $(STAGING_DIR)/usr/include/dbus-1.0/dbus/
- post-install:
- ${INSTALL_DIR} ${IDIR_DBUS}/etc ${IDIR_DBUS}/usr/lib ${IDIR_DBUS}/usr/bin
- ${CP} ${WRKINST}/etc/dbus-1 ${IDIR_DBUS}/etc/
- ${CP} ${WRKINST}/usr/lib/libdbus-1.so.* ${IDIR_DBUS}/usr/lib/
- ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-daemon ${IDIR_DBUS}/usr/bin/
- ${INSTALL_BIN} ${WRKINST}/usr/bin/dbus-launch ${IDIR_DBUS}/usr/bin/
- include ${TOPDIR}/mk/pkg-bottom.mk
|