homebrew-core/Formula/dylibbundler.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

22 lines
561 B
Ruby

require 'formula'
class Dylibbundler < Formula
homepage 'http://macdylibbundler.sourceforge.net'
url 'http://downloads.sourceforge.net/project/macdylibbundler/macdylibbundler/0.4.4/dylibbundler-0.4.4.zip'
sha1 '8d120bababc5218927447cf7fec57abf5d093ff6'
def install
system "make"
bin.install "dylibbundler"
end
test do
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