wok-current view jq/receipt @ 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
children 762b649a4d73
line source
1 # SliTaz package receipt.
3 PACKAGE="jq"
4 VERSION="1.4"
5 CATEGORY="utilities"
6 SHORT_DESC="jq is a lightweight and flexible command-line JSON processor"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="MIT"
9 TARBALL="jq-1.4.tar.gz"
10 WEB_SITE="http://stedolan.github.io/jq/"
11 WGET_URL="http://stedolan.github.io/jq/download/source/$TARBALL"
12 TAGS="json"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }