homebrew-core/Formula/sl.rb

17 lines
467 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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'
def install
2012-02-18 02:05:41 +00:00
ENV.llvm if MacOS.clang_version.to_f <= 3.1
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "sl"
man1.install "sl.1"
end
end