Files
haikuports/app-text/jo/jo-1.6.recipe
augiedoggie e12976a0bc jo: add recipe for 1.6 (#6595)
* jo: add recipe for 1.6

* jo: remove autoheader prerequire
2022-02-07 16:34:06 -05:00

62 lines
1013 B
Bash

SUMMARY="JSON output from a shell"
DESCRIPTION="jo is a small utility to create JSON objects on the command line. It creates a JSON \
string on stdout from words given it as arguments or read from stdin."
HOMEPAGE="https://github.com/jpmens/jo"
COPYRIGHT="2016-2022 Jan-Piet Mens"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/jpmens/jo/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="ae2837ddad9993d5e28fe8db00efec6b2378d68b7366021353a1e297b5fa2025"
PATCHES="$portName-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
jo = $portVersion
cmd:jo
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoreconf
cmd:awk
cmd:find
cmd:gcc
cmd:grep
cmd:install
cmd:make
cmd:pkg_config
cmd:sed
"
BUILD()
{
autoreconf -vfi
LDFLAGS="-lbsd" runConfigure ./configure \
--sysconfdir=$dataDir
make $jobArgs
}
INSTALL()
{
make install
mkdir -p $docDir
cp -a jo.md $docDir
}
TEST()
{
make check
}