7ba7b9603b
libsigrok has not needed autoreconf since b428801934
(package/libsigrok:
bump version to 0.4.0), 4 years ago now.
As such, we no longer need the autoreconf options, nor the dependency on
the autoconf archive.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
65 lines
1.6 KiB
Makefile
65 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# libsigrok
|
|
#
|
|
################################################################################
|
|
|
|
LIBSIGROK_VERSION = 0.5.2
|
|
LIBSIGROK_SITE = http://sigrok.org/download/source/libsigrok
|
|
LIBSIGROK_LICENSE = GPL-3.0+
|
|
LIBSIGROK_LICENSE_FILES = COPYING
|
|
LIBSIGROK_INSTALL_STAGING = YES
|
|
LIBSIGROK_DEPENDENCIES = libglib2 libzip host-pkgconf
|
|
LIBSIGROK_CONF_OPTS = --disable-java --disable-python
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
|
|
LIBSIGROK_CONF_OPTS += --with-libbluez
|
|
LIBSIGROK_DEPENDENCIES += bluez5_utils
|
|
else
|
|
LIBSIGROK_CONF_OPTS += --without-libbluez
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_HIDAPI),y)
|
|
LIBSIGROK_CONF_OPTS += --with-libhidapi
|
|
LIBSIGROK_DEPENDENCIES += hidapi
|
|
else
|
|
LIBSIGROK_CONF_OPTS += --without-libhidapi
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSERIALPORT),y)
|
|
LIBSIGROK_CONF_OPTS += --with-libserialport
|
|
LIBSIGROK_DEPENDENCIES += libserialport
|
|
else
|
|
LIBSIGROK_CONF_OPTS += --without-libserialport
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
|
|
LIBSIGROK_CONF_OPTS += --with-libftdi
|
|
LIBSIGROK_DEPENDENCIES += libftdi1
|
|
else
|
|
LIBSIGROK_CONF_OPTS += --without-libftdi
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
|
LIBSIGROK_CONF_OPTS += --with-libusb
|
|
LIBSIGROK_DEPENDENCIES += libusb
|
|
else
|
|
LIBSIGROK_CONF_OPTS += --without-libusb
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_GLIBMM),y)
|
|
LIBSIGROK_DEPENDENCIES += glibmm
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSIGROKCXX),y)
|
|
LIBSIGROK_CONF_OPTS += --enable-cxx
|
|
LIBSIGROK_DEPENDENCIES += \
|
|
glibmm \
|
|
host-doxygen \
|
|
$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
|
|
else
|
|
LIBSIGROK_CONF_OPTS += --disable-cxx
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|