2012-08-14 07:31:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dylibbundler < Formula
|
|
|
|
homepage 'http://macdylibbundler.sourceforge.net'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/macdylibbundler/macdylibbundler/0.4.4/dylibbundler-0.4.4.zip'
|
2013-12-25 21:47:59 +00:00
|
|
|
sha1 '8d120bababc5218927447cf7fec57abf5d093ff6'
|
2012-08-14 07:31:38 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "dylibbundler"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-08-14 07:31:38 +00:00
|
|
|
system "#{bin}/dylibbundler", "-h"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Usage example:
|
|
|
|
dylibbundler -od -b -x ./HelloWorld.app/Contents/MacOS/helloworld -d ./HelloWorld.app/Contents/libs/
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|