mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
jq: bump version.
* install in $prefix/bin for x86_gcc2.
This commit is contained in:
61
app-misc/jq/jq-1.5.recipe
Normal file
61
app-misc/jq/jq-1.5.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="A lightweight and flexible command-line JSON processor"
|
||||
DESCRIPTION="jq is like sed for JSON data – you can use it to slice \
|
||||
and filter and map and transform structured data with the same ease \
|
||||
that sed, awk, grep and friends let you play with text. \
|
||||
It is written in portable C, and it has zero runtime dependencies. \
|
||||
You can download a single binary, scp it to a far away machine, \
|
||||
and expect it to work. It can mangle the data format that you have into \
|
||||
the one that you want with very little effort, and the program to do so \
|
||||
is often shorter and simpler than you’d expect."
|
||||
HOMEPAGE="http://stedolan.github.io/jq/"
|
||||
COPYRIGHT="2012,2015 Stephen Dolan"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://github.com/stedolan/jq/archive/jq-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d5667641d28c27d0c1e70de83e7f9bd8b2fed7fbf6a1d68731177d400a533c65"
|
||||
SOURCE_DIR="jq-jq-$portVersion"
|
||||
PATCHES="jq-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
|
||||
PROVIDES="
|
||||
jq = $portVersion
|
||||
cmd:jq = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:awk
|
||||
cmd:autoconf
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
touch lexer.c parser.c
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $commandBinDir
|
||||
cp -a jq $commandBinDir
|
||||
}
|
||||
Reference in New Issue
Block a user