aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dylibbundler.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/dylibbundler.rb b/Library/Formula/dylibbundler.rb
new file mode 100644
index 000000000..45e5a0790
--- /dev/null
+++ b/Library/Formula/dylibbundler.rb
@@ -0,0 +1,25 @@
+require 'formula'
+
+class Dylibbundler < Formula
+ homepage 'http://macdylibbundler.sourceforge.net'
+ url 'http://sourceforge.net/projects/macdylibbundler/files/macdylibbundler/0.4.1/dylibbundler0.4.1.zip'
+ sha1 'ea80b57a487da3df3e3cc508573bf18268100464'
+
+ def install
+ system "make"
+ bin.install "dylibbundler"
+ end
+
+ def test
+ system "#{bin}/dylibbundler", "-h"
+ end
+
+ def caveats; <<-EOS.undent
+ Documentation at:
+ #{homepage}
+
+ Usage example:
+ dylibbundler -od -b -x ./HelloWorld.app/Contents/MacOS/helloworld -d ./HelloWorld.app/Contents/libs/
+ EOS
+ end
+end