Sha256: f08b3ff981d73213c89e90974978947cc4bbcbd8ff360931666de1435a8fa071

Contents?: true

Size: 811 Bytes

Versions: 16

Compression:

Stored size: 811 Bytes

Contents

#!/bin/bash 

vips_site=https://github.com/jcupitt/libvips/releases/download
version=$VIPS_VERSION_MAJOR.$VIPS_VERSION_MINOR.$VIPS_VERSION_MICRO

set -e

# do we already have the correct vips built? early exit if yes
# we could check the configure params as well I guess
if [ -d "$HOME/vips/bin" ]; then
	installed_version=$($HOME/vips/bin/vips --version)
	escaped_version="$VIPS_VERSION_MAJOR\.$VIPS_VERSION_MINOR\.$VIPS_VERSION_MICRO"
	echo "Need vips-$version"
	echo "Found $installed_version"
	if [[ "$installed_version" =~ ^vips-$escaped_version ]]; then
		echo "Using cached directory"
		exit 0
	fi
fi

rm -rf $HOME/vips
wget $vips_site/v$version/vips-$version.tar.gz
tar xf vips-$version.tar.gz
cd vips-$version
CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./configure --prefix=$HOME/vips $*
make && make install

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby-vips-2.0.13 install-vips.sh
ruby-vips-2.0.12 install-vips.sh
ruby-vips-2.0.11 install-vips.sh
ruby-vips-2.0.10 install-vips.sh
ruby-vips-2.0.9 install-vips.sh
ruby-vips-2.0.8 install-vips.sh
ruby-vips-2.0.7 install-vips.sh
ruby-vips-2.0.6 install-vips.sh
ruby-vips-2.0.5 install-vips.sh
ruby-vips-2.0.4 install-vips.sh
ruby-vips-2.0.3 install-vips.sh
ruby-vips-2.0.2 install-vips.sh
ruby-vips-2.0.1 install-vips.sh
ruby-vips-2.0.0 install-vips.sh
ruby-vips-1.0.6 install-vips.sh
ruby-vips-1.0.5 install-vips.sh