2013-09-12 09:05:36 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libsoc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-06-23 07:41:56 +02:00
|
|
|
LIBSOC_VERSION = 0.8.2
|
2013-12-05 18:20:46 +01:00
|
|
|
LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBSOC_LICENSE = LGPL-2.1
|
2016-06-23 07:41:56 +02:00
|
|
|
LIBSOC_LICENSE_FILES = LICENCE
|
2013-09-12 09:05:36 +02:00
|
|
|
LIBSOC_AUTORECONF = YES
|
|
|
|
LIBSOC_INSTALL_STAGING = YES
|
2017-04-03 10:14:41 +02:00
|
|
|
LIBSOC_DEPENDENCIES = host-pkgconf
|
2013-09-12 09:05:36 +02:00
|
|
|
|
2016-06-24 14:35:10 +02:00
|
|
|
# Install Python 2 bindings
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
|
|
|
LIBSOC_DEPENDENCIES += python
|
|
|
|
LIBSOC_CONF_OPTS += --enable-python=2
|
|
|
|
# Install Python 3 bindings
|
|
|
|
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
|
|
|
LIBSOC_DEPENDENCIES += python3
|
|
|
|
LIBSOC_CONF_OPTS += --enable-python=3
|
|
|
|
else
|
|
|
|
LIBSOC_CONF_OPTS += --disable-python
|
|
|
|
endif
|
|
|
|
|
2013-09-12 09:05:36 +02:00
|
|
|
$(eval $(autotools-package))
|