libsoc.mk 616 B

1234567891011121314151617181920212223
  1. ################################################################################
  2. #
  3. # libsoc
  4. #
  5. ################################################################################
  6. LIBSOC_VERSION = 0.8.2
  7. LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
  8. LIBSOC_LICENSE = LGPL-2.1
  9. LIBSOC_LICENSE_FILES = LICENCE
  10. LIBSOC_AUTORECONF = YES
  11. LIBSOC_INSTALL_STAGING = YES
  12. LIBSOC_DEPENDENCIES = host-pkgconf
  13. # Install Python 3 bindings
  14. ifeq ($(BR2_PACKAGE_PYTHON3),y)
  15. LIBSOC_DEPENDENCIES += python3
  16. LIBSOC_CONF_OPTS += --enable-python=3
  17. else
  18. LIBSOC_CONF_OPTS += --disable-python
  19. endif
  20. $(eval $(autotools-package))