From 729f378f5da9dde9c4d141a268aebe8eab38f6b9 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 8 Jul 2014 21:11:49 +0200 Subject: [PATCH] New package: jq-1.4 --- common/shlibs | 1 + srcpkgs/jq-devel | 1 + srcpkgs/jq/template | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 120000 srcpkgs/jq-devel create mode 100644 srcpkgs/jq/template diff --git a/common/shlibs b/common/shlibs index 50f374ea318..a9d06c450fe 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1669,3 +1669,4 @@ libnetpbm.so.11 libnetpbm-10.66.03_2 libid3.so id3lib-3.8.3_1 libid3-3.8.so.3 id3lib-3.8.3_1 libgirara-gtk3.so.1 girara-0.2.2_1 +libjq.so.1 jq-devel-1.4_1 diff --git a/srcpkgs/jq-devel b/srcpkgs/jq-devel new file mode 120000 index 00000000000..ef0d2eaa7ff --- /dev/null +++ b/srcpkgs/jq-devel @@ -0,0 +1 @@ +jq \ No newline at end of file diff --git a/srcpkgs/jq/template b/srcpkgs/jq/template new file mode 100644 index 00000000000..04d1696c576 --- /dev/null +++ b/srcpkgs/jq/template @@ -0,0 +1,26 @@ +# Template file for 'jq' +pkgname=jq +version=1.4 +revision=1 +build_style=gnu-configure +short_desc="Command-line JSON processor" +maintainer="Christian Neukirchen " +license="custom" +homepage="http://stedolan.github.io/jq/" +distfiles="http://stedolan.github.io/jq/download/source/${pkgname}-${version}.tar.gz" +checksum=998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d + +post_install() { + rm -r ${DESTDIR}/usr/share/doc/$pkgname + vlicense COPYING +} + +jq-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so*" + } +}