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
|
|
|
|
2012-10-27 05:41:21 +00:00
|
|
|
depends_on :libtool => :build
|
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
|