2012-02-02 18:28:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ipbt < Formula
|
|
|
|
homepage 'http://www.chiark.greenend.org.uk/~sgtatham/ipbt/'
|
2012-06-16 11:16:47 +00:00
|
|
|
url 'http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ipbt-r9487.tar.gz'
|
2013-09-27 18:35:28 +00:00
|
|
|
sha1 '6938c792994473cff2e3cdb44edc957664e6cc83'
|
2012-06-16 11:16:47 +00:00
|
|
|
version 'r9487'
|
2012-02-02 18:28:26 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-16 11:16:47 +00:00
|
|
|
system './configure', "--prefix=#{prefix}", '--disable-dependency-tracking'
|
2012-02-02 18:28:26 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/ipbt"
|
|
|
|
end
|
|
|
|
end
|