From 9a7bb65864fb75c87b3002a34fbe973aa93a739f Mon Sep 17 00:00:00 2001 From: Tibor Nagy <xnagytibor@gmail.com> Date: Fri, 23 Feb 2018 19:40:22 +0100 Subject: [PATCH] Add libjpeg recipe --- recipes/libjpeg/recipe.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes/libjpeg/recipe.sh diff --git a/recipes/libjpeg/recipe.sh b/recipes/libjpeg/recipe.sh new file mode 100644 index 000000000..fda7d87a6 --- /dev/null +++ b/recipes/libjpeg/recipe.sh @@ -0,0 +1,34 @@ +VERSION=9c +TAR=http://ijg.org/files/jpegsrc.v$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