wok-6.x annotate jq/receipt @ rev 18677
syslinux/c32box: fix custom initrd >= 2k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 06 17:41:24 2015 +0100 (2015-12-06) |
parents | |
children | 762b649a4d73 |
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" |
nneul@17883 | 9 TARBALL="jq-1.4.tar.gz" |
nneul@17883 | 10 WEB_SITE="http://stedolan.github.io/jq/" |
nneul@17883 | 11 WGET_URL="http://stedolan.github.io/jq/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 cd $src |
nneul@17883 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
nneul@17883 | 19 --mandir=/usr/share/man \ |
nneul@17883 | 20 $CONFIGURE_ARGS && |
nneul@17883 | 21 make && |
nneul@17883 | 22 make DESTDIR=$DESTDIR install |
nneul@17883 | 23 } |
nneul@17883 | 24 |
nneul@17883 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17883 | 26 genpkg_rules() |
nneul@17883 | 27 { |
nneul@17883 | 28 mkdir -p $fs/usr |
nneul@17883 | 29 cp -a $install/usr/bin $fs/usr |
nneul@17883 | 30 } |
nneul@17883 | 31 |
nneul@17883 | 32 |