summaryrefslogtreecommitdiff
path: root/homebrew/abuse/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/abuse/.beer')
-rw-r--r--homebrew/abuse/.beer63
1 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/abuse/.beer b/homebrew/abuse/.beer
new file mode 100644
index 000000000..c7c89d257
--- /dev/null
+++ b/homebrew/abuse/.beer
@@ -0,0 +1,63 @@
+{
+ "name": "Abuse",
+ "description": "Dark 2D side-scrolling platform game",
+ "url": "http://abuse.zoy.org/raw-attachment/wiki/download/abuse-0.8.tar.gz",
+ "mirror": null,
+ "homepage": "http://abuse.zoy.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libvorbis",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl_mixer",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"bootstrap\", \"11 10 9 8 7 6 5\", '$(seq -s \" \" 5 99)'",
+ "inreplace \"bootstrap\",",
+ "\"aclocal${amvers} ${aclocalflags}\",",
+ "\"aclocal${amvers} ${aclocalflags} -I#{HOMEBREW_PREFIX}/share/aclocal\"",
+ "inreplace \"src/net/fileman.cpp\", \"ushort\", \"unsigned short\"",
+ "inreplace \"src/sdlport/setup.cpp\", \"UInt8\", \"uint8_t\"",
+ "inreplace \"configure.ac\", \"AM_CONFIG_HEADER\", \"AC_CONFIG_HEADERS\"",
+ "inreplace \"configure.ac\",",
+ "\"#error\\t/* Error so the compile fails on OSX */\",",
+ "\"#include <OpenGL/gl.h>\"",
+ "system \"./bootstrap\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-debug\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--disable-sdltest\",",
+ "\"--with-assetdir=#{pkgshare}\",",
+ "\"--with-sdl-prefix=#{Formula[\"sdl\"].opt_prefix}\"",
+ "%w[. src src/imlib src/lisp src/net src/sdlport].each do |p|",
+ "inreplace \"#{p}/Makefile\", \"-lGL\", \"-framework OpenGL\""
+ ],
+ "version": "0.8",
+ "file": "abuse.rb"
+} \ No newline at end of file