1 ################################################################################
5 ################################################################################
8 LIBSOC_SITE
= $(call github
,jackmitch
,libsoc
,$(LIBSOC_VERSION
))
9 LIBSOC_LICENSE
= LGPLv2.1
10 LIBSOC_LICENSE_FILES
= LICENCE
11 LIBSOC_AUTORECONF
= YES
12 LIBSOC_INSTALL_STAGING
= YES
14 # Install Python 2 bindings
15 ifeq ($(BR2_PACKAGE_PYTHON
),y
)
16 LIBSOC_DEPENDENCIES
+= python
17 LIBSOC_CONF_OPTS
+= --enable-python
=2
18 # Install Python 3 bindings
19 else ifeq ($(BR2_PACKAGE_PYTHON3
),y
)
20 LIBSOC_DEPENDENCIES
+= python3
21 LIBSOC_CONF_OPTS
+= --enable-python
=3
23 LIBSOC_CONF_OPTS
+= --disable-python
26 $(eval
$(autotools-package
))