Convert pixman recipe to toml

This commit is contained in:
Jeremy Soller 2023-12-13 14:35:31 -07:00
parent 2ac416fa07
commit 4aefbfcc12
No known key found for this signature in database
GPG Key ID: DCFCA852D3906975
2 changed files with 7 additions and 31 deletions

View File

@ -1,31 +0,0 @@
VERSION="0.42.2"
TAR=https://www.cairographics.org/releases/pixman-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
./configure \
--build=${BUILD} \
--host=${HOST} \
--prefix=/ \
--disable-shared \
--enable-static
"$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
rm -f "$dest/lib/"*.la
skip=1
}

View File

@ -0,0 +1,7 @@
[source]
tar = "https://www.cairographics.org/releases/pixman-0.42.2.tar.gz"
blake3 = "40f8a5cb809ae218ef33c75499d0fed6cbe625b26d78e88822304947cc07f183"
patches = ["redox.patch"]
[build]
template = "configure"