2010-03-10 22:09:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sl < Formula
|
2012-02-10 04:15:40 +00:00
|
|
|
homepage 'http://packages.debian.org/source/stable/sl'
|
2010-09-30 17:35:08 +00:00
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz'
|
2011-09-19 15:51:54 +00:00
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz'
|
2010-03-10 22:09:00 +00:00
|
|
|
md5 'd0d997b964bb3478f7f4968eee13c698'
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :clang do
|
|
|
|
build 318
|
|
|
|
end
|
2012-02-18 02:05:41 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
def install
|
2012-02-10 04:15:40 +00:00
|
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
|
2010-03-10 22:09:00 +00:00
|
|
|
bin.install "sl"
|
|
|
|
man1.install "sl.1"
|
|
|
|
end
|
|
|
|
end
|