aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-02-09 22:06:30 -0600
committerJack Nagel2012-02-09 22:06:30 -0600
commit4c5b212a3e7cf146d8083533932bcfd812e9aeb3 (patch)
treef4d5618716bc7b79ec7ed513338377f93a218cbd /Library
parent1510d7c9a9b44375edcac4383f9a6bddcaf64a29 (diff)
downloadhomebrew-4c5b212a3e7cf146d8083533932bcfd812e9aeb3.tar.bz2
flasm: style cleanups
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/flasm.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/flasm.rb b/Library/Formula/flasm.rb
index 08ea8222f..8ba8db3a1 100644
--- a/Library/Formula/flasm.rb
+++ b/Library/Formula/flasm.rb
@@ -1,17 +1,13 @@
require 'formula'
class Flasm < Formula
- url 'http://www.nowrap.de/download/flasm16src.zip'
- version '1.62'
homepage 'http://www.nowrap.de/flasm.html'
+ url 'http://www.nowrap.de/download/flasm16src.zip'
md5 '28a4586409061b385d1cd27d3f120c0b'
+ version '1.62'
def install
- inreplace "Makefile" do |s|
- s.change_make_var! 'CFLAGS', ENV.cflags
- end
-
- system "make"
+ system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "flasm"
end
end