From 9af2f4872f66aaedef08c99c90e2ed33fa668a7e Mon Sep 17 00:00:00 2001
From: Tibor Nagy <xnagytibor@gmail.com>
Date: Wed, 28 Feb 2018 18:29:09 +0100
Subject: [PATCH] Add freetype recipe

---
 recipes/freetype/recipe.sh | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 recipes/freetype/recipe.sh

diff --git a/recipes/freetype/recipe.sh b/recipes/freetype/recipe.sh
new file mode 100644
index 000000000..33660c48d
--- /dev/null
+++ b/recipes/freetype/recipe.sh
@@ -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
+}
-- 
GitLab