2011-08-22 19:47:09 +00:00
|
|
|
class Anttweakbar < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C/C++ library for adding GUIs to OpenGL apps"
|
2015-01-30 00:57:59 +00:00
|
|
|
homepage "http://www.antisphere.com/Wiki/tools:anttweakbar"
|
|
|
|
url "https://downloads.sourceforge.net/project/anttweakbar/AntTweakBar_116.zip"
|
|
|
|
version "1.16"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "fbceb719c13ceb13b9fd973840c2c950527b6e026f9a7a80968c14f76fcf6e7c"
|
2011-08-22 19:47:09 +00:00
|
|
|
|
2015-01-30 01:14:36 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2016-09-26 15:52:18 +00:00
|
|
|
rebuild 1
|
|
|
|
sha256 "af510970b310b01ee52528e816cdd53e2d4a4e2cfc76e426b1710f758bc99d20" => :sierra
|
2015-11-26 23:13:16 +00:00
|
|
|
sha256 "417278abe012967efcf22b0276527187f6472dd5fd4d271b1ea32604816d46c9" => :el_capitan
|
|
|
|
sha256 "a2e29104a5ef51621faaebd72ccc39bd5fe7bd6e977af74a358c5cc83c65c2c2" => :yosemite
|
|
|
|
sha256 "d1298b92cf6a7498c3b357adf6e696d0b24374e758853783fa228a8af5eecddc" => :mavericks
|
2015-01-30 01:14:36 +00:00
|
|
|
end
|
|
|
|
|
2015-11-25 22:12:33 +00:00
|
|
|
# See:
|
|
|
|
# https://sourceforge.net/p/anttweakbar/code/ci/5a076d13f143175a6bda3c668e29a33406479339/tree/src/LoadOGLCore.h?diff=5528b167ed12395a60949d7c643262b6668f15d5&diformat=regular
|
2014-05-23 23:32:13 +00:00
|
|
|
# https://sourceforge.net/p/anttweakbar/tickets/14/
|
2015-11-25 22:12:33 +00:00
|
|
|
patch do
|
2016-05-27 19:54:59 +00:00
|
|
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/62e79481/anttweakbar/anttweakbar.diff"
|
2015-11-25 22:12:33 +00:00
|
|
|
sha256 "3be2cb71cc00a9948c8b474da7e15ec85e3d094ed51ad2fab5c8991a9ad66fc2"
|
|
|
|
end
|
2013-09-24 03:52:35 +00:00
|
|
|
|
2011-08-22 19:47:09 +00:00
|
|
|
def install
|
2014-04-17 04:10:10 +00:00
|
|
|
system "make", "-C", "src", "-f", "Makefile.osx"
|
2015-01-30 00:57:59 +00:00
|
|
|
lib.install "lib/libAntTweakBar.dylib", "lib/libAntTweakBar.a"
|
|
|
|
include.install "include/AntTweakBar.h"
|
2011-08-22 19:47:09 +00:00
|
|
|
end
|
|
|
|
end
|