Commit daf6a359 authored by Andrew Murray's avatar Andrew Murray
Browse files

Skip configure in giflib if version >= 5.1.5

parent 3903f7f2
......@@ -228,7 +228,24 @@ function build_lcms2 {
}
function build_giflib {
build_simple giflib $GIFLIB_VERSION https://downloads.sourceforge.net/project/giflib
local name=giflib
local version=$GIFLIB_VERSION
local url=https://downloads.sourceforge.net/project/giflib
if [ $(lex_ver $GIFLIB_VERSION) -lt $(lex_ver 5.1.5) ]; then
build_simple $name $version $url
else
local ext=tar.gz
if [ -e "${name}-stamp" ]; then
return
fi
local name_version="${name}-${version}"
local archive=${name_version}.${ext}
fetch_unpack $url/$archive
(cd $name_version \
&& make -j4 \
&& make install)
touch "${name}-stamp"
fi
}
function build_xz {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment