# HG changeset patch # User Nathan Neulinger # Date 1427936848 0 # Node ID 59052ca2662d4be4eb62139c4973ab3a410d9424 # Parent e01b2549aeffcc0925d3a76a85fc3a3633b21e2e Add: jq - json cli query utility diff -r e01b2549aeff -r 59052ca2662d jq/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jq/receipt Thu Apr 02 01:07:28 2015 +0000 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="jq" +VERSION="1.4" +CATEGORY="utilities" +SHORT_DESC="jq is a lightweight and flexible command-line JSON processor" +MAINTAINER="nneul@neulinger.org" +LICENSE="MIT" +TARBALL="jq-1.4.tar.gz" +WEB_SITE="http://stedolan.github.io/jq/" +WGET_URL="http://stedolan.github.io/jq/download/source/$TARBALL" +TAGS="json" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} + +