Skip to content

Instantly share code, notes, and snippets.

@mig
Last active Dec 19, 2015
Embed
What would you like to do?
build_package_with_readline_and_openssl () {
local package_name="$1"
{
autoconf
./configure --prefix="$PREFIX_PATH" --with-opt-dir="$PREFIX_PATH:`brew --prefix readline`:`brew --prefix openssl`" $CONFIGURE_OPTS
make -j 8
make install
} >&4 2>&1
}
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz#36c852831d02cf90508c29852361d01b"
install_git "1.9.3-p448" "https://github.com/mig/ruby.git" "1.9.3-p448" with_readline_and_openssl
build_package_with_readline_and_openssl () {
local package_name="$1"
{
autoconf
if [ $(uname) == 'Darwin' ]; then
./configure --prefix="$PREFIX_PATH" --with-opt-dir="$PREFIX_PATH:`brew --prefix readline`:`brew --prefix openssl`" $CONFIGURE_OPTS
else
./configure --prefix="$PREFIX_PATH" --with-opt-dir=$PREFIX_PATH
fi
make -j 8
make install
} >&4 2>&1
}
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz#36c852831d02cf90508c29852361d01b"
install_git "1.9.3-p448" "https://github.com/mig/ruby.git" "1.9.3-p448-perf-patched" with_readline_and_openssl
build_package_with_readline_and_openssl () {
local package_name="$1"
{
autoconf
if [ $(uname) == 'Darwin' ]; then
./configure --prefix="$PREFIX_PATH" --with-opt-dir="$PREFIX_PATH:`brew --prefix readline`:`brew --prefix openssl`" $CONFIGURE_OPTS
else
./configure --prefix="$PREFIX_PATH" --with-opt-dir=$PREFIX_PATH
fi
make -j 8
make install
} >&4 2>&1
}
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz#36c852831d02cf90508c29852361d01b"
install_git "1.9.3-p484" "https://github.com/mig/ruby.git" "1.9.3-p484" with_readline_and_openssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment