jansson: convert recipe to toml

This commit is contained in:
Jeremy Soller 2023-12-12 19:22:11 -07:00
parent 80cb620b93
commit d5fcda1bfb
No known key found for this signature in database
GPG Key ID: DCFCA852D3906975
2 changed files with 6 additions and 27 deletions

View File

@ -1,27 +0,0 @@
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
}

View File

@ -0,0 +1,6 @@
[source]
tar = "https://github.com/akheron/jansson/releases/download/v2.10/jansson-2.10.tar.gz"
blake3 = "3c74f374a6c7ac5e323f72d87e49e5309ca922ca26cfe4992873b31f28776624"
[build]
template = "configure"