X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fsigrok-cli%2Fsigrok-cli.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fsigrok-cli%2Fsigrok-cli.mk;h=34e0a0efe8747dd85b0ea650fefd163e1159eaff;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/sigrok-cli/sigrok-cli.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/sigrok-cli/sigrok-cli.mk new file mode 100644 index 0000000..34e0a0e --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/sigrok-cli/sigrok-cli.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# sigrok-cli +# +################################################################################ + +SIGROK_CLI_VERSION = c59bf72b694ab1d08b2ea44de4349c277e206414 +# 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))