34e0a0efe8747dd85b0ea650fefd163e1159eaff
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / sigrok-cli / sigrok-cli.mk
1 ################################################################################
2 #
3 # sigrok-cli
4 #
5 ################################################################################
6
7 SIGROK_CLI_VERSION = c59bf72b694ab1d08b2ea44de4349c277e206414
8 # No https access on upstream git
9 SIGROK_CLI_SITE = git://sigrok.org/sigrok-cli
10 SIGROK_CLI_LICENSE = GPLv3+
11 SIGROK_CLI_LICENSE_FILES = COPYING
12 # Git checkout has no configure script
13 SIGROK_CLI_AUTORECONF = YES
14 SIGROK_CLI_DEPENDENCIES = host-pkgconf libsigrok
15
16 ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y)
17 SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode
18 SIGROK_CLI_DEPENDENCIES += libsigrokdecode
19 else
20 SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode=NO
21 endif
22
23 define SIGROK_CLI_ADD_MISSING
24         mkdir -p $(@D)/autostuff
25 endef
26
27 SIGROK_CLI_PRE_CONFIGURE_HOOKS += SIGROK_CLI_ADD_MISSING
28
29 $(eval $(autotools-package))