aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJacob Appelbaum2013-02-16 03:47:24 -0800
committerMike McQuaid2013-02-23 07:50:18 +0000
commit5b5d00fc19faff79f145507448f8d17c78b8e1e7 (patch)
treee4f0b1388fdd321bc572e6f82117b3a5b2f60b78 /Library
parent9531dfbd82a3be3d2e7814a9c66e84d8a77668c9 (diff)
downloadhomebrew-5b5d00fc19faff79f145507448f8d17c78b8e1e7.tar.bz2
makedepend 0.2 (new formula)
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/makedepend.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/makedepend.rb b/Library/Formula/makedepend.rb
new file mode 100644
index 000000000..0af3841e2
--- /dev/null
+++ b/Library/Formula/makedepend.rb
@@ -0,0 +1,18 @@
+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