homebrew-core/Formula/srecord.rb
Alex Burka f630e600d0 srecord: add libtool dependency
srecord does not build if glibtool is not available at build time.
The libtool package installs glibtool into /usr/local/bin, so srecord
needs to list this dependency to overcome superenv.

Closes Homebrew/homebrew#15688.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-27 07:29:07 -07:00

16 lines
394 B
Ruby

require 'formula'
class Srecord < Formula
homepage 'http://srecord.sourceforge.net/'
url 'http://srecord.sourceforge.net/srecord-1.60.tar.gz'
sha1 '0e0e94e735578346138c916117a8d6c8324e9fec'
depends_on :libtool => :build
depends_on 'boost'
depends_on 'libgcrypt'
def install
system "./configure", "--prefix=#{prefix}", "LIBTOOL=glibtool"
system "make install"
end
end