2010-03-10 22:09:00 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sl < Formula
|
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-09-24 23:44:59 +00:00
|
|
|
homepage 'http://packages.debian.org/source/stable/sl'
|
2010-03-10 22:09:00 +00:00
|
|
|
md5 'd0d997b964bb3478f7f4968eee13c698'
|
|
|
|
|
|
|
|
def install
|
2011-10-05 01:47:41 +00:00
|
|
|
inreplace 'Makefile' do |s|
|
|
|
|
s.change_make_var! 'CC', ENV.cc
|
|
|
|
s.change_make_var! 'CFLAGS', ENV.cflags
|
|
|
|
end
|
|
|
|
|
2010-03-10 22:09:00 +00:00
|
|
|
system "make"
|
|
|
|
bin.install "sl"
|
|
|
|
man1.install "sl.1"
|
|
|
|
end
|
|
|
|
end
|