2013-11-17 11:35:59 +00:00
|
|
|
class Amtterm < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Serial-over-LAN (sol) client for Intel AMT"
|
2015-01-05 12:41:17 +00:00
|
|
|
homepage "http://www.kraxel.org/blog/linux/amtterm/"
|
|
|
|
url "http://www.kraxel.org/releases/amtterm/amtterm-1.3.tar.gz"
|
|
|
|
sha1 "cfd199cc870f48a59caa89408b039239eab85322"
|
|
|
|
|
|
|
|
head "git://git.kraxel.org/amtterm"
|
2013-11-17 11:35:59 +00:00
|
|
|
|
2014-07-06 13:06:20 +00:00
|
|
|
resource "SOAP::Lite" do
|
|
|
|
url "http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/SOAP-Lite-1.11.tar.gz"
|
2014-07-20 22:21:45 +00:00
|
|
|
mirror "http://search.mcpan.org/CPAN/authors/id/P/PH/PHRED/SOAP-Lite-1.11.tar.gz"
|
2014-07-06 13:06:20 +00:00
|
|
|
sha1 "b9e22c82a240737e87d6c720998feadcfb583768"
|
|
|
|
end
|
|
|
|
|
2013-11-17 11:35:59 +00:00
|
|
|
def install
|
2014-07-06 13:06:20 +00:00
|
|
|
ENV.prepend_create_path "PERL5LIB", libexec+"lib/perl5"
|
|
|
|
|
|
|
|
resource("SOAP::Lite").stage do
|
|
|
|
system "perl", "Makefile.PL", "INSTALL_BASE=#{libexec}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
2015-01-05 12:41:17 +00:00
|
|
|
system "make", "prefix=#{prefix}", "install"
|
2014-07-06 13:06:20 +00:00
|
|
|
bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"])
|
2013-11-17 11:35:59 +00:00
|
|
|
end
|
2015-01-05 12:41:17 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/amtterm", "-h"
|
|
|
|
end
|
2013-11-17 11:35:59 +00:00
|
|
|
end
|