homebrew-core/Formula/sl.rb
Max Howell ae69e1cc9d make -e has env-vars override Makefile vars
So the CC= in the Makefile is overridden by the $CC setting. I considered doing this generally, but as it stands we keep most of the user's environment in both superenv and stdenv so it's too risky. But I wanted to commit one example of it at least.
2012-08-31 10:22:10 -04:00

18 lines
425 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 -e"
bin.install "sl"
man1.install "sl.1"
end
end