kumquat-buildroot/package/sigrok-cli/sigrok-cli.mk
Bartosz Golaszewski 9404f1a0a7 libsigrokdecode: new package
[Peter: needs libglib2+host-pkgconf, simplify pre-configure, propagate
	!python dependency]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-01 23:47:35 +01:00

30 lines
844 B
Makefile

################################################################################
#
# sigrok-cli
#
################################################################################
SIGROK_CLI_VERSION = 198487f611d8a7be4fa15017c22fa01a56551ca6
# No https access on upstream git
SIGROK_CLI_SITE = git://sigrok.org/sigrok-cli
SIGROK_CLI_LICENSE = GPLv3+
SIGROK_CLI_LICENSE_FILES = COPYING
# Git checkout has no configure script
SIGROK_CLI_AUTORECONF = YES
SIGROK_CLI_DEPENDENCIES = host-pkgconf libsigrok
ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y)
SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode
SIGROK_CLI_DEPENDENCIES += libsigrokdecode
else
SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode=NO
endif
define SIGROK_CLI_ADD_MISSING
mkdir -p $(@D)/autostuff
endef
SIGROK_CLI_PRE_CONFIGURE_HOOKS += SIGROK_CLI_ADD_MISSING
$(eval $(autotools-package))