libgtk3: remove non-existent configure options
[buildroot-gz.git] / package / libftdi1 / libftdi1.mk
blob26aa293b33523c21ceb869d70b93b1b3c5eecd25
1 ################################################################################
3 # libftdi1
5 ################################################################################
7 LIBFTDI1_VERSION = 1.3
8 LIBFTDI1_SOURCE = libftdi1-$(LIBFTDI1_VERSION).tar.bz2
9 LIBFTDI1_SITE = http://www.intra2net.com/en/developer/libftdi/download
10 LIBFTDI1_INSTALL_STAGING = YES
11 LIBFTDI1_DEPENDENCIES = libusb
12 LIBFTDI1_LICENSE = LGPLv2 (libftdi1), GPLv2 with exception (ftdipp1)
13 LIBFTDI1_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LIB
14 LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF
16 ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y)
17 LIBFTDI1_DEPENDENCIES += boost
18 LIBFTDI1_CONF_OPTS += -DFTDIPP=ON
19 else
20 LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF
21 endif
23 ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y)
24 LIBFTDI1_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) host-swig
25 LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON
26 else
27 LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF
28 endif
30 ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y)
31 # ftdi_eeprom optionally depends on libintl, so make sure gettext is built
32 # _before_ libfitdi1 when gettext is enbaled.
33 LIBFTDI1_DEPENDENCIES += libconfuse $(if $(BR2_PACKAGE_GETTEXT),gettext)
34 LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=ON
35 else
36 LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=OFF
37 endif
39 $(eval $(cmake-package))