wok-current view jq/receipt @ rev 18663
Up tazpkg(880); change pre- post-functions, etc. in random packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 02:45:17 2015 +0200 (2015-12-04) |
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 }