summaryrefslogtreecommitdiff
path: root/homebrew/anttweakbar
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/anttweakbar')
-rw-r--r--homebrew/anttweakbar/.beer27
-rw-r--r--homebrew/anttweakbar/.make.sh-auto8
-rw-r--r--homebrew/anttweakbar/_metadata/description1
-rw-r--r--homebrew/anttweakbar/_metadata/homepage1
-rw-r--r--homebrew/anttweakbar/_metadata/name1
-rw-r--r--homebrew/anttweakbar/_metadata/version1
-rwxr-xr-xhomebrew/anttweakbar/download.sh1
-rwxr-xr-xhomebrew/anttweakbar/patches.sh1
8 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/anttweakbar/.beer b/homebrew/anttweakbar/.beer
new file mode 100644
index 000000000..086f63377
--- /dev/null
+++ b/homebrew/anttweakbar/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Anttweakbar",
+ "description": "C/C++ library for adding GUIs to OpenGL apps",
+ "url": "https://downloads.sourceforge.net/project/anttweakbar/AntTweakBar_116.zip",
+ "mirror": null,
+ "homepage": "https://anttweakbar.sourceforge.io/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/62e79481/anttweakbar/anttweakbar.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "if DevelopmentTools.clang_build_version >= 900 ||",
+ "(MacOS.version == :el_capitan && MacOS::Xcode.version >= \"8.0\")",
+ "ENV.delete(\"SDKROOT\")",
+ "end",
+ "system \"make\", \"-C\", \"src\", \"-f\", \"Makefile.osx\"",
+ "lib.install \"lib/libAntTweakBar.dylib\", \"lib/libAntTweakBar.a\"",
+ "include.install \"include/AntTweakBar.h\""
+ ],
+ "version": "116",
+ "file": "anttweakbar.rb"
+} \ No newline at end of file
diff --git a/homebrew/anttweakbar/.make.sh-auto b/homebrew/anttweakbar/.make.sh-auto
new file mode 100644
index 000000000..85913a4ba
--- /dev/null
+++ b/homebrew/anttweakbar/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+if DevelopmentTools.clang_build_version >= 900 ||
+(MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0")
+ENV.delete("SDKROOT")
+end
+make -C src -f Makefile.osx
+lib.install "lib/libAntTweakBar.dylib", "lib/libAntTweakBar.a"
+include.install "include/AntTweakBar.h"
diff --git a/homebrew/anttweakbar/_metadata/description b/homebrew/anttweakbar/_metadata/description
new file mode 100644
index 000000000..9fed08b8f
--- /dev/null
+++ b/homebrew/anttweakbar/_metadata/description
@@ -0,0 +1 @@
+C/C++ library for adding GUIs to OpenGL apps
diff --git a/homebrew/anttweakbar/_metadata/homepage b/homebrew/anttweakbar/_metadata/homepage
new file mode 100644
index 000000000..792446ea4
--- /dev/null
+++ b/homebrew/anttweakbar/_metadata/homepage
@@ -0,0 +1 @@
+https://anttweakbar.sourceforge.io/
diff --git a/homebrew/anttweakbar/_metadata/name b/homebrew/anttweakbar/_metadata/name
new file mode 100644
index 000000000..c2cc43db1
--- /dev/null
+++ b/homebrew/anttweakbar/_metadata/name
@@ -0,0 +1 @@
+Anttweakbar
diff --git a/homebrew/anttweakbar/_metadata/version b/homebrew/anttweakbar/_metadata/version
new file mode 100644
index 000000000..4699eb3cc
--- /dev/null
+++ b/homebrew/anttweakbar/_metadata/version
@@ -0,0 +1 @@
+116
diff --git a/homebrew/anttweakbar/download.sh b/homebrew/anttweakbar/download.sh
new file mode 100755
index 000000000..f991c4465
--- /dev/null
+++ b/homebrew/anttweakbar/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/anttweakbar/AntTweakBar_116.zip \ No newline at end of file
diff --git a/homebrew/anttweakbar/patches.sh b/homebrew/anttweakbar/patches.sh
new file mode 100755
index 000000000..d51350c39
--- /dev/null
+++ b/homebrew/anttweakbar/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/62e79481/anttweakbar/anttweakbar.diff