Skip to content

Instantly share code, notes, and snippets.

@arunthampi
Created May 16, 2012 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arunthampi/2706320 to your computer and use it in GitHub Desktop.
Save arunthampi/2706320 to your computer and use it in GitHub Desktop.
Ruby formula for Macdeb
# This creates a deb package called macdeb-ruby-1.9.3-p125_x86_64.deb
#
# You can then install it (including dependencies) using gdebi
# `sudo gdebi macdeb-ruby-1.9.3-p125_x86_64.deb`
#
# To install gdebi, run `sudo aptitude install gdebi-core`
macdeb create --formula ruby --namespace macdeb --pkgname ruby --pkgver 1.9.3-p125
class Ruby < Macdeb::Formula
set_source_url "ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz"
add_dependency "libstdc++6", ">= 4.4.3"
add_dependency "libc6", ">= 2.6"
add_dependency "libffi6", ">= 3.0.10"
add_dependency "libgdbm3", ">= 1.8.3"
add_dependency "libncurses5", ">= 5.7"
add_dependency "libreadline6", ">= 6.1"
add_dependency "libssl0.9.8", ">= 0.9.8"
add_dependency "zlib1g", ">= 1:1.2.2"
add_dependency "libyaml-dev", ">= 0.1.3-1"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment