Initial Commit
- initial default booting image
This commit is contained in:
29
package/jq/jq.mk
Normal file
29
package/jq/jq.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# jq
|
||||
#
|
||||
################################################################################
|
||||
|
||||
JQ_VERSION = 1.8.2
|
||||
JQ_SITE = https://github.com/jqlang/jq/releases/download/jq-$(JQ_VERSION)
|
||||
JQ_LICENSE = MIT (code), ICU (decNumber), CC-BY-3.0 (documentation), \
|
||||
BSD-2-Clause (strptime)
|
||||
JQ_LICENSE_FILES = COPYING
|
||||
JQ_CPE_ID_VENDOR = jqlang
|
||||
JQ_INSTALL_STAGING = YES
|
||||
|
||||
# uses c99 specific features
|
||||
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
||||
HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99"
|
||||
|
||||
HOST_JQ_CONF_OPTS += --without-oniguruma
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ONIGURUMA),y)
|
||||
JQ_DEPENDENCIES += oniguruma
|
||||
JQ_CONF_OPTS += --with-oniguruma
|
||||
else
|
||||
JQ_CONF_OPTS += --without-oniguruma
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user