diff --git a/recipes/libjpeg/recipe.sh b/recipes/libjpeg/recipe.sh new file mode 100644 index 0000000000000000000000000000000000000000..fda7d87a677170499150dc84d05c88672a3479ab --- /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 +}