jq: update maintainer email
[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.6
12 PKG_RELEASE:=2
13 PKG_LICENSE:=BSD
14
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_HASH:=9625784cf2e4fd9842f1d407681ce4878b5b0dcddbcd31c6135114a30c71e6a8
18 PKG_MAINTAINER:=Marko Ratkaj <markoratkaj@gmail.com>
19
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 ifdef CONFIG_USE_MIPS16
25 TARGET_CFLAGS += -fno-ipa-sra
26 endif
27
28 TARGET_CFLAGS += -std=c99 -D_GNU_SOURCE
29
30 CONFIGURE_ARGS+= \
31 --disable-docs \
32 --disable-valgrind \
33 --without-oniguruma
34
35 define Package/jq
36 SECTION:=utils
37 CATEGORY:=Utilities
38 TITLE:=Lightweight and flexible command-line JSON processor.
39 URL:=https://stedolan.github.io/jq/
40 endef
41
42 define Package/jq/description
43 Lightweight and flexible command-line JSON processor.
44 endef
45
46 define Package/jq/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
49 endef
50
51 $(eval $(call BuildPackage,jq))