ibrcommon.mk 967 B

123456789101112131415161718192021222324252627282930313233343536
  1. ################################################################################
  2. #
  3. # ibrcommon
  4. #
  5. ################################################################################
  6. IBRCOMMON_VERSION = 1.0.1
  7. IBRCOMMON_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases
  8. IBRCOMMON_INSTALL_STAGING = YES
  9. IBRCOMMON_LICENSE = Apache-2.0
  10. IBRCOMMON_LICENSE_FILES = COPYING README
  11. IBRCOMMON_DEPENDENCIES = host-pkgconf
  12. IBRCOMMON_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
  13. ifeq ($(BR2_PACKAGE_OPENSSL),y)
  14. IBRCOMMON_DEPENDENCIES += openssl
  15. IBRCOMMON_CONF_OPTS += --with-openssl
  16. else
  17. IBRCOMMON_CONF_OPTS += --without-openssl
  18. endif
  19. ifeq ($(BR2_PACKAGE_LIBNL),y)
  20. IBRCOMMON_DEPENDENCIES += libnl
  21. IBRCOMMON_CONF_OPTS += --with-lowpan
  22. else
  23. IBRCOMMON_CONF_OPTS += --without-lowpan
  24. endif
  25. ifeq ($(BR2_PACKAGE_LIBXML2),y)
  26. IBRCOMMON_DEPENDENCIES += libxml2
  27. IBRCOMMON_CONF_OPTS += --with-xml
  28. else
  29. IBRCOMMON_CONF_OPTS += --without-xml
  30. endif
  31. $(eval $(autotools-package))