76f212190d
This adds a very simple replacement for the otherwise unpackaged and essentially required makedepend utility. This tool is missing on Mac OS X 10.8.x and without it many packages, such as modern OpenSSL, will simply refuse to build without hackery. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
18 lines
420 B
Ruby
18 lines
420 B
Ruby
require 'formula'
|
|
|
|
class Makedepend < Formula
|
|
homepage 'https://www.github.com/ioerror/makedepend/'
|
|
url 'https://github.com/ioerror/makedepend/archive/0.2.tar.gz'
|
|
sha1 '85b3b2a53b401b8bd5be19443960acb1367d3055'
|
|
head 'https://github.com/ioerror/makedepend.git'
|
|
|
|
def install
|
|
bin.mkpath
|
|
ENV['DESTDIR'] = prefix
|
|
system 'make', 'install'
|
|
end
|
|
|
|
def test
|
|
system 'makedepend', '--version'
|
|
end
|
|
end
|