homebrew-core/Formula/yamdi.rb
Jack Nagel 6b0f64e8b4 Use ENV.cc and ENV.cxx where appropriate
Cursory testing shows that these all build with llvm and those that have
binaries work. Formulae should be marked 'fails_with_llvm' if there are
issues found later.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-09 17:50:34 -06:00

13 lines
342 B
Ruby

require 'formula'
class Yamdi < Formula
url 'http://downloads.sourceforge.net/project/yamdi/yamdi/1.6/yamdi-1.6.tar.gz'
homepage 'http://yamdi.sourceforge.net/'
md5 '3f8395373e941f235015a92d4da047c8'
def install
system "#{ENV.cc} #{ENV.cflags} yamdi.c -o yamdi"
bin.install "yamdi"
man1.install "man1/yamdi.1"
end
end