2012-08-14 07:31:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dylibbundler < Formula
|
|
|
|
homepage 'http://macdylibbundler.sourceforge.net'
|
2013-02-02 02:10:20 +00:00
|
|
|
url 'http://sourceforge.net/projects/macdylibbundler/files/macdylibbundler/0.4.3/dylibbundler-0.4.3.zip'
|
|
|
|
sha1 '9335f16ea90a375151707b03e59a7c5de41c39a9'
|
2012-08-14 07:31:38 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "dylibbundler"
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
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
|