Skip to content
Snippets Groups Projects
Commit f7e77880 authored by Nagy Tibor's avatar Nagy Tibor
Browse files

Add libpng recipe

parent f0f05be0
No related branches found
No related tags found
1 merge request!124Add libpng and libjpeg, enable JPEG support in netsurf
VERSION=1.6.34
TAR=https://download.sourceforge.net/libpng/libpng-$VERSION.tar.xz
BUILD_DEPENDS=(zlib)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="${PWD}/../sysroot"
export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include"
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
./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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment