mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-07 21:48:13 -08:00
fix(#199): presinstall.sh tarball download URL
This commit is contained in:
parent
dd3da90710
commit
ba1cf6a030
1 changed files with 12 additions and 6 deletions
|
|
@ -1,18 +1,24 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
vips_version_minimum=8.4.2
|
vips_version_minimum=8.4.2
|
||||||
vips_version_latest_major_minor=8.4
|
vips_version_latest_major_minor=8.5
|
||||||
vips_version_latest_patch=2
|
vips_version_latest_patch=1
|
||||||
|
vips_version_full="$vips_version_latest_major_minor.$vips_version_latest_patch"
|
||||||
|
|
||||||
openslide_version_minimum=3.4.0
|
openslide_version_minimum=3.4.0
|
||||||
openslide_version_latest_major_minor=3.4
|
openslide_version_latest_major_minor=3.4
|
||||||
openslide_version_latest_patch=1
|
openslide_version_latest_patch=1
|
||||||
|
|
||||||
|
tarbal_url="https://github.com/jcupitt/libvips/releases/download/v$vips_version_full/vips-$vips_version_full.tar.gz"
|
||||||
|
|
||||||
install_libvips_from_source() {
|
install_libvips_from_source() {
|
||||||
echo "Compiling libvips $vips_version_latest_major_minor.$vips_version_latest_patch from source"
|
# Download tarball
|
||||||
curl -O http://www.vips.ecs.soton.ac.uk/supported/$vips_version_latest_major_minor/vips-$vips_version_latest_major_minor.$vips_version_latest_patch.tar.gz
|
echo "Compiling libvips v$vips_version_full from source"
|
||||||
tar zvxf vips-$vips_version_latest_major_minor.$vips_version_latest_patch.tar.gz
|
curl -L -o vips-$vips_version_full.tar.gz $tarbal_url
|
||||||
cd vips-$vips_version_latest_major_minor.$vips_version_latest_patch
|
tar zvxf vips-$vips_version_full.tar.gz
|
||||||
|
cd vips-$vips_version_full
|
||||||
|
|
||||||
|
# Compile
|
||||||
CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" ./configure --disable-debug --disable-docs --disable-static --disable-introspection --disable-dependency-tracking --enable-cxx=yes --without-python --without-orc --without-fftw $1
|
CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" ./configure --disable-debug --disable-docs --disable-static --disable-introspection --disable-dependency-tracking --enable-cxx=yes --without-python --without-orc --without-fftw $1
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue