Sha256: d3120ef2ab7cd98db611c7d68763371c4ee870edb8a9d650dc3fcb6a9dc20351

Contents?: true

Size: 971 Bytes

Versions: 15

Compression:

Stored size: 971 Bytes

Contents

# configure
arch_flags="-mmacosx-version-min=10.5"
export CFLAGS="$arch_flags "
export CXXFLAGS="$arch_flags"
export CPPFLAGS="$arch_flags"
export LDFLAGS="$arch_flags"
export OBJCFLAGS="$arch_flags" 
export OBJCXXFLAGS="$arch_flags"

QUANDL_PATH=/usr/local/quandl
INSTALL_PATH=$QUANDL_PATH/ruby/
ROOT_DIR=$(pwd)
# clean
rm -rf $INSTALL_PATH
rm -rf $ROOT_DIR/*
# download
wget http://xyz.lcs.mit.edu/ruby/ruby-1.9.3-p448.zip
extract ruby-1.9.3-p448.zip
cd ruby-1.9.3-p448
# compile
./configure --with-static-linked-ext --prefix=$INSTALL_PATH
make
sudo make install
# make package
sudo chown $USER:staff $QUANDL_PATH
mkdir $QUANDL_PATH/ruby-1.9.3-p448-pkg/
cp $ROOT_DIR/../dist/resources/ruby/PackageInfo $QUANDL_PATH/ruby-1.9.3-p448-pkg/PackageInfo
cd $INSTALL_PATH
mkbom -s . $QUANDL_PATH/ruby-1.9.3-p448-pkg/Bom
pax -wz -x cpio . > $QUANDL_PATH/ruby-1.9.3-p448-pkg/Payload
# package
cd $QUANDL_PATH
pkgutil --flatten ruby-1.9.3-p448-pkg $ROOT_DIR/ruby.pkg
cd $ROOT_DIR

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
quandl-0.4.4 scripts/compile_ruby_pkg.sh
quandl-0.4.3 scripts/compile_ruby_pkg.sh
quandl-0.4.2 scripts/compile_ruby_pkg.sh
quandl-0.4.1 scripts/compile_ruby_pkg.sh
quandl-0.4.0 scripts/compile_ruby_pkg.sh
quandl-0.3.7 scripts/compile_ruby_pkg.sh
quandl-0.3.6 scripts/compile_ruby_pkg.sh
quandl-0.3.4 scripts/compile_ruby_pkg.sh
quandl-0.3.3 scripts/compile_ruby_pkg.sh
quandl-0.3.0 scripts/compile_ruby_pkg.sh
quandl-0.2.27 scripts/compile_ruby_pkg.sh
quandl-0.2.26 scripts/compile_ruby_pkg.sh
quandl-0.2.25 scripts/compile_ruby_pkg.sh
quandl-0.2.24 scripts/compile_ruby_pkg.sh
quandl-0.2.22 scripts/compile_ruby_pkg.sh