homebrew-core/Formula/sl.rb
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00

18 lines
462 B
Ruby

require 'formula'
class Sl < Formula
homepage 'http://packages.debian.org/source/stable/sl'
url 'http://mirrors.kernel.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz'
mirror 'http://ftp.us.debian.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz'
md5 'd0d997b964bb3478f7f4968eee13c698'
fails_with :clang do
build 318
end
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "sl"
man1.install "sl.1"
end
end