Sha256: 03ebaf4fe7b4a134a3afa4b35a85f848ff4a40329adfcca015130c1d1f781922

Contents?: true

Size: 502 Bytes

Versions: 27

Compression:

Stored size: 502 Bytes

Contents

#!/usr/bin/env bash

set -x
set -e

if [ -z "$FREETDS_VERSION" ]; then
  FREETDS_VERSION=$(ruby -r "./ext/tiny_tds/extconsts.rb" -e "puts FREETDS_VERSION")
fi

wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz
tar -xzf freetds-$FREETDS_VERSION.tar.gz
cd freetds-$FREETDS_VERSION
./configure --prefix=/opt/local \
            --with-openssl=/opt/local \
            --with-tdsver=7.3
make
make install
cd ..
rm -rf freetds-$FREETDS_VERSION
rm freetds-$FREETDS_VERSION.tar.gz

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
tiny_tds-2.1.0.pre3-x86-mingw32 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre3-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre3 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre2-x86-mingw32 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre2-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre2 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre1-x86-mingw32 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre1-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-2.1.0.pre1 test/bin/install-freetds.sh
tiny_tds-2.0.0-x86-mingw32 test/bin/install-freetds.sh
tiny_tds-2.0.0-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-2.0.0 test/bin/install-freetds.sh
tiny_tds-2.0.0.pre1-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-2.0.0.pre1-x86-mingw32 test/bin/install-freetds.sh
tiny_tds-2.0.0.pre1 test/bin/install-freetds.sh
tiny_tds-1.3.0-x86-mingw32 test/bin/install-freetds.sh
tiny_tds-1.3.0-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-1.3.0 test/bin/install-freetds.sh
tiny_tds-1.2.0-x64-mingw32 test/bin/install-freetds.sh
tiny_tds-1.2.0-x86-mingw32 test/bin/install-freetds.sh