jq 1.4
authorYaakov Selkowitz <yselkowi@redhat.com>
Wed, 15 Apr 2015 00:29:49 +0000 (19:29 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 15 Apr 2015 00:29:49 +0000 (19:29 -0500)
1.4-no-undefined.patch [new file with mode: 0644]
jq.cygport [new file with mode: 0644]

diff --git a/1.4-no-undefined.patch b/1.4-no-undefined.patch
new file mode 100644 (file)
index 0000000..9eefab0
--- /dev/null
@@ -0,0 +1,11 @@
+--- origsrc/jq-1.4/Makefile.am 2014-06-09 18:57:01.000000000 -0500
++++ src/jq-1.4/Makefile.am     2015-04-14 16:56:51.279481100 -0500
+@@ -35,7 +35,7 @@ AM_YFLAGS = --warnings=all -d
+ lib_LTLIBRARIES = libjq.la
+ libjq_la_SOURCES = ${LIBJQ_SRC}
+ libjq_la_LIBADD = -lm
+-libjq_la_LDFLAGS = -export-symbols-regex '^j[qv]_' -version-info 1:4:0
++libjq_la_LDFLAGS = -export-symbols-regex '^j[qv]_' -version-info 1:4:0 -no-undefined
+ include_HEADERS = jv.h jq.h
diff --git a/jq.cygport b/jq.cygport
new file mode 100644 (file)
index 0000000..ac01008
--- /dev/null
@@ -0,0 +1,24 @@
+NAME="jq"
+VERSION=1.4
+RELEASE=1
+CATEGORY="Text"
+SUMMARY="Lightweight and flexible JSON processor"
+DESCRIPTION="jq is like sed for JSON data – you can use it to slice and filter
+and map and transform structured data with the same ease that sed, awk, grep
+and friends let you play with text."
+HOMEPAGE="https://stedolan.github.io/jq/"
+SRC_URI="${HOMEPAGE}/download/source/jq-${VERSION}.tar.gz"
+PATCH_URI="1.4-no-undefined.patch"
+
+PKG_NAMES="jq libjq1 libjq-devel"
+jq_CONTENTS="usr/bin/jq.exe usr/share/doc/ usr/share/man/"
+libjq1_CATEGORY="Libs"
+libjq1_CONTENTS="usr/bin/cygjq-1.dll"
+libjq_devel_CATEGORY="Libs"
+libjq_devel_CONTENTS="usr/include/ usr/lib/libjq.dll.a"
+
+src_test() {
+       cd ${B}
+       # did something change in libtool-2.4.5+?
+       PATH=${B}/.libs:$PATH cygmake check
+}
This page took 0.020513 seconds and 5 git commands to generate.