wok-next annotate jq/receipt @ rev 20180
opencc: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 12:28:56 2017 +0100 (2017-11-02) |
parents | 59052ca2662d |
children | 0ec6086e21d6 |
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 } |