2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="jq"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="1.7"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="MIT"
|
|
|
|
PKG_SITE="http://stedolan.github.io/jq/"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="https://github.com/stedolan/jq/releases/download/${PKG_NAME}-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain oniguruma"
|
|
|
|
PKG_LONGDESC="A like sed for JSON data."
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--disable-docs \
|
|
|
|
--disable-maintainer-mode \
|
|
|
|
--disable-valgrind"
|
|
|
|
|
|
|
|
makeinstall_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
|
|
cp jq ${INSTALL}/usr/bin/
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
2022-08-12 09:55:56 +00:00
|
|
|
|