mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-19 11:24:18 +08:00
Convert pixman recipe to toml
This commit is contained in:
parent
2ac416fa07
commit
4aefbfcc12
@ -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
|
||||
}
|
||||
7
recipes/libs/pixman/recipe.toml
Normal file
7
recipes/libs/pixman/recipe.toml
Normal 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"
|
||||
Loading…
Reference in New Issue
Block a user