wok annotate jq/receipt @ rev 20289
elilo: force ia32 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 13:11:07 2018 +0200 (2018-04-10) |
parents | 59052ca2662d |
children | f9a649f31165 |
rev | line source |
---|---|
nneul@17883 | 1 # SliTaz package receipt. |
nneul@17883 | 2 |
nneul@17883 | 3 PACKAGE="jq" |
nneul@17883 | 4 VERSION="1.4" |
nneul@17883 | 5 CATEGORY="utilities" |
nneul@17883 | 6 SHORT_DESC="jq is a lightweight and flexible command-line JSON processor" |
nneul@17883 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17883 | 8 LICENSE="MIT" |
al@19001 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
nneul@17883 | 10 WEB_SITE="http://stedolan.github.io/jq/" |
al@19001 | 11 WGET_URL="${WEB_SITE}download/source/$TARBALL" |
nneul@17883 | 12 TAGS="json" |
nneul@17883 | 13 |
nneul@17883 | 14 # Rules to configure and make the package. |
nneul@17883 | 15 compile_rules() |
nneul@17883 | 16 { |
nneul@17883 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
nneul@17883 | 18 --mandir=/usr/share/man \ |
nneul@17883 | 19 $CONFIGURE_ARGS && |
nneul@17883 | 20 make && |
nneul@17883 | 21 make DESTDIR=$DESTDIR install |
nneul@17883 | 22 } |
nneul@17883 | 23 |
nneul@17883 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17883 | 25 genpkg_rules() |
nneul@17883 | 26 { |
nneul@17883 | 27 mkdir -p $fs/usr |
nneul@17883 | 28 cp -a $install/usr/bin $fs/usr |
nneul@17883 | 29 } |