mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-06 19:48:43 +08:00
Add freetype recipe
This commit is contained in:
parent
7cdcd9b0a1
commit
9af2f4872f
34
recipes/freetype/recipe.sh
Normal file
34
recipes/freetype/recipe.sh
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
VERSION=2.9
|
||||||
|
TAR=https://download.savannah.gnu.org/releases/freetype/freetype-$VERSION.tar.gz
|
||||||
|
|
||||||
|
function recipe_version {
|
||||||
|
echo "$VERSION"
|
||||||
|
skip=1
|
||||||
|
}
|
||||||
|
|
||||||
|
function recipe_update {
|
||||||
|
echo "skipping update"
|
||||||
|
skip=1
|
||||||
|
}
|
||||||
|
|
||||||
|
function recipe_build {
|
||||||
|
./configure --host=${HOST} --prefix='/'
|
||||||
|
make
|
||||||
|
skip=1
|
||||||
|
}
|
||||||
|
|
||||||
|
function recipe_test {
|
||||||
|
echo "skipping test"
|
||||||
|
skip=1
|
||||||
|
}
|
||||||
|
|
||||||
|
function recipe_clean {
|
||||||
|
make clean
|
||||||
|
skip=1
|
||||||
|
}
|
||||||
|
|
||||||
|
function recipe_stage {
|
||||||
|
dest="$(realpath $1)"
|
||||||
|
make DESTDIR="$dest" install
|
||||||
|
skip=1
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user