Skip to content
Snippets Groups Projects
Verified Commit d5fcda1b authored by Jeremy Soller's avatar Jeremy Soller
Browse files

jansson: convert recipe to toml

parent 80cb620b
No related branches found
No related tags found
No related merge requests found
VERSION=2.10
TAR=https://github.com/akheron/jansson/releases/download/v$VERSION/jansson-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include"
./configure --build=${BUILD} --host=${HOST} --prefix=/
"$REDOX_MAKE" -j"$($NPROC)"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
"$REDOX_MAKE" DESTDIR="$dest" install
skip=1
}
[source]
tar = "https://github.com/akheron/jansson/releases/download/v2.10/jansson-2.10.tar.gz"
blake3 = "3c74f374a6c7ac5e323f72d87e49e5309ca922ca26cfe4992873b31f28776624"
[build]
template = "configure"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment