homebrew-core/Formula/md.rb
mbcoguno b050517c77 Fix missing keg-only on pre-Mountain Lion formulae.
Closes Homebrew/homebrew#15375.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-10 08:51:02 -07:00

18 lines
478 B
Ruby

require 'formula'
class Md < Formula
homepage 'http://opensource.apple.com/source/adv_cmds/adv_cmds-147/md/'
url 'http://opensource.apple.com/tarballs/adv_cmds/adv_cmds-147.tar.gz'
sha1 '0128de65a4da2ef9655f3b1e6a94d2f8ae292414'
# OS X up to and including Lion 10.7 includes 'md'
keg_only :provided_pre_mountain_lion
def install
cd 'md' do
system "#{ENV.cc} #{ENV.cflags} -o md md.c"
bin.install('md')
man1.install('md.1')
end
end
end