wok rev 17883

Add: jq - json cli query utility
author Nathan Neulinger <nneul@neulinger.org>
date Thu Apr 02 01:07:28 2015 +0000 (2015-04-02)
parents e01b2549aeff
children f0ffe7691d2b
files jq/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jq/receipt	Thu Apr 02 01:07:28 2015 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="jq"
     1.7 +VERSION="1.4"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="jq is a lightweight and flexible command-line JSON processor"
    1.10 +MAINTAINER="nneul@neulinger.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="jq-1.4.tar.gz"
    1.13 +WEB_SITE="http://stedolan.github.io/jq/"
    1.14 +WGET_URL="http://stedolan.github.io/jq/download/source/$TARBALL"
    1.15 +TAGS="json"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--mandir=/usr/share/man \
    1.23 +	$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $install/usr/bin $fs/usr
    1.33 +}
    1.34 +
    1.35 +