mdnsreponder: update to 2200.100.94.0.2
[feed/packages.git] / utils / jq / Makefile
1 #
2 # Copyright (C) 2017 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=jq
11 PKG_VERSION:=1.7.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://github.com/jqlang/jq/releases/download/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_HASH:=478c9ca129fd2e3443fe27314b455e211e0d8c60bc8ff7df703873deeee580c2
17
18 PKG_MAINTAINER:=Marko Ratkaj <markoratkaj@gmail.com>
19 PKG_LICENSE:=MIT
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_INSTALL:=1
23
24 include $(INCLUDE_DIR)/package.mk
25
26 CONFIGURE_ARGS+= \
27 --disable-docs \
28 --disable-valgrind \
29 --without-oniguruma
30
31 define Package/jq
32 SECTION:=utils
33 CATEGORY:=Utilities
34 TITLE:=Lightweight and flexible command-line JSON processor.
35 URL:=https://jqlang.github.io/jq/
36 endef
37
38 define Package/jq/description
39 Lightweight and flexible command-line JSON processor.
40 endef
41
42 define Package/jq/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,jq))