2012-04-22 16:37:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Srecord < Formula
|
|
|
|
homepage 'http://srecord.sourceforge.net/'
|
2012-07-29 22:45:42 +00:00
|
|
|
url 'http://srecord.sourceforge.net/srecord-1.60.tar.gz'
|
|
|
|
sha1 '0e0e94e735578346138c916117a8d6c8324e9fec'
|
2012-04-22 16:37:05 +00:00
|
|
|
|
2013-02-02 05:45:07 +00:00
|
|
|
depends_on :libtool
|
2012-04-22 16:37:05 +00:00
|
|
|
depends_on 'boost'
|
|
|
|
depends_on 'libgcrypt'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "LIBTOOL=glibtool"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|