diff options
| author | David Cox | 2011-08-22 15:47:09 -0400 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-04 16:51:03 -0700 |
| commit | 72ffe54bbade445d59ca3f14347bbaafb92ee1b3 (patch) | |
| tree | f1bf7adfc1bc00dcda36065b9518effc84eb1cab /Library/Formula | |
| parent | 7130650f1f65e62a7fc7e01b3e33ebe792388b2c (diff) | |
| download | homebrew-72ffe54bbade445d59ca3f14347bbaafb92ee1b3.tar.bz2 | |
New Formula: AntTweakBar
Closes #7176.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/anttweakbar.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/anttweakbar.rb b/Library/Formula/anttweakbar.rb new file mode 100644 index 000000000..297d0a33b --- /dev/null +++ b/Library/Formula/anttweakbar.rb @@ -0,0 +1,25 @@ +require 'formula' + +class Anttweakbar < Formula + url 'http://www.antisphere.com/Tools/AntTweakBar/AntTweakBar_114.zip' + homepage 'http://www.antisphere.com/Wiki/tools:anttweakbar' + md5 '5aaee2ea2bca03a258f8dad494828d7e' + + depends_on 'dos2unix' => :build + + def patches + # this was developed by a windows guy (apparently); need to run dos2unix + # in order to apply a patch + system 'dos2unix `find src/ -type f`' + + # patch two small issues -- one related to 10.7 compatibility, one related + # to missing symbols due to an (apparently) erroneous 'extern "C"' wrapper + 'https://raw.github.com/gist/1182684/8afd29c2bef6c410f1886d297012af752c0d0ac3/atb_10_7_patch_minimal.diff' + end + + def install + system 'cd src; make -f Makefile.osx' + lib.install 'lib/libAntTweakBar.dylib' + include.install 'include/AntTweakBar.h' + end +end |
