Skip to content

Instantly share code, notes, and snippets.

@burke
Forked from stan/1.9.3-p385-falcon
Last active December 16, 2015 20:08
Show Gist options
  • Save burke/5489787 to your computer and use it in GitHub Desktop.
Save burke/5489787 to your computer and use it in GitHub Desktop.
build_package_combined_patch() {
local package_name="$1"
{
curl https://github.com/funny-falcon/ruby/compare/p385...p385_ary_queue.diff | patch -p1
curl https://github.com/funny-falcon/ruby/compare/p385...p385_st_opt.diff | patch -p1
curl https://github.com/funny-falcon/ruby/compare/p385...p385_backport_speedup_require.diff | patch -p1
curl https://github.com/funny-falcon/ruby/compare/p385...p385_backport_gc.diff | patch -p1
autoconf
./configure --prefix="$PREFIX_PATH" $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_package "ruby-1.9.3-p385" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.gz#3e0d7f8512400c1a6732327728a56f1d" combined_patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment