package/rpi-userland: don't install file in random location
[buildroot-gz.git] / package / libsoc / libsoc.mk
blob03bef043d96d0c5a377f8b008a9a206e2893a479
1 ################################################################################
3 # libsoc
5 ################################################################################
7 LIBSOC_VERSION = 0.8.2
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
22 else
23 LIBSOC_CONF_OPTS += --disable-python
24 endif
26 $(eval $(autotools-package))