summaryrefslogtreecommitdiff
path: root/package/jq/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-27 20:54:43 +0200
commit58549cb7a62a895b87d44efe98d8ce2e624b5d6f (patch)
treee68571e0501ef5da89dbe1089ad9f3eef470ac06 /package/jq/Makefile
parent5ffc823114c78a9470a2ad17b2985575ecd362ec (diff)
parentce815fbe043c69f7ab8c51a3fa93c14445d7e1fc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/jq/Makefile')
-rw-r--r--package/jq/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/jq/Makefile b/package/jq/Makefile
new file mode 100644
index 000000000..d59eb8a47
--- /dev/null
+++ b/package/jq/Makefile
@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= jq
+PKG_VERSION:= 1.4
+PKG_RELEASE:= 1
+PKG_HASH:= 998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d
+PKG_DESCR:= command-line json processor
+PKG_SECTION:= sys/misc
+PKG_URL:= http://stedolan.github.io/jq/
+PKG_SITES:= http://stedolan.github.io/jq/download/source/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JQ,jq,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+jq-install:
+ $(INSTALL_DIR) $(IDIR_JQ)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/jq \
+ $(IDIR_JQ)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk