aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dylibbundler.rb
blob: 8b32baf6cf713cc933862aeabdd88c0f2be52d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Dylibbundler < Formula
  homepage 'http://macdylibbundler.sourceforge.net'
  url 'http://sourceforge.net/projects/macdylibbundler/files/macdylibbundler/0.4.3/dylibbundler-0.4.3.zip'
  sha1 '9335f16ea90a375151707b03e59a7c5de41c39a9'

  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