diff --git a/recipes/libs/jansson/recipe.sh b/recipes/libs/jansson/recipe.sh deleted file mode 100644 index 051ddc4bd1ed21b9516fd229a5caed44ba510dda..0000000000000000000000000000000000000000 --- a/recipes/libs/jansson/recipe.sh +++ /dev/null @@ -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 -} diff --git a/recipes/libs/jansson/recipe.toml b/recipes/libs/jansson/recipe.toml new file mode 100644 index 0000000000000000000000000000000000000000..a2c3ef42d2cc4d6ee0cdacd9acfe038e451df66c --- /dev/null +++ b/recipes/libs/jansson/recipe.toml @@ -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"