2 # Copyright (C) 2017 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://github.com
/stedolan
/jq
/releases
/download
/jq-
$(PKG_VERSION
)/
17 PKG_MD5SUM
:=0933532b086bd8b6a41c1b162b1731f9
21 include $(INCLUDE_DIR
)/package.mk
23 ifdef CONFIG_USE_MIPS16
24 TARGET_CFLAGS
+= -fno-ipa-sra
30 TITLE
:=Lightweight and flexible command-line JSON processor.
31 URL
:=https
://stedolan.github.io
/jq
/
32 MAINTAINER
:=Marko Ratkaj
<marko.ratkaj@sartura.hr
>
35 define Package
/jq
/description
36 Lightweight and flexible command-line JSON processor.
39 define Package
/jq
/install
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
44 $(eval
$(call BuildPackage
,jq
))