summaryrefslogtreecommitdiff
path: root/homebrew/openclonk
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/openclonk')
-rw-r--r--homebrew/openclonk/.beer62
-rw-r--r--homebrew/openclonk/.make.sh-auto7
-rw-r--r--homebrew/openclonk/_metadata/description1
-rw-r--r--homebrew/openclonk/_metadata/homepage1
-rw-r--r--homebrew/openclonk/_metadata/name1
-rw-r--r--homebrew/openclonk/_metadata/version1
-rwxr-xr-xhomebrew/openclonk/download.sh1
7 files changed, 74 insertions, 0 deletions
diff --git a/homebrew/openclonk/.beer b/homebrew/openclonk/.beer
new file mode 100644
index 000000000..2b2683f92
--- /dev/null
+++ b/homebrew/openclonk/.beer
@@ -0,0 +1,62 @@
+{
+ "name": "Openclonk",
+ "description": "Multiplayer action game",
+ "url": "https://www.openclonk.org/builds/release/7.0/openclonk-7.0-src.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.openclonk.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "freealut",
+ "build-depend": false
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "glew",
+ "build-depend": false
+ },
+ {
+ "depend": "jpeg",
+ "build-depend": false
+ },
+ {
+ "depend": "libogg",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "libvorbis",
+ "build-depend": false
+ },
+ {
+ "depend": "macos",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "bin.write_exec_script \"#{prefix}/openclonk.app/Contents/MacOS/openclonk\"",
+ "bin.install Dir[prefix/\"c4*\"]"
+ ],
+ "version": "7.0",
+ "file": "openclonk.rb"
+} \ No newline at end of file
diff --git a/homebrew/openclonk/.make.sh-auto b/homebrew/openclonk/.make.sh-auto
new file mode 100644
index 000000000..326473986
--- /dev/null
+++ b/homebrew/openclonk/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+make DESTDIR=${PKG_DEST} install
+bin.write_exec_script "#{prefix}/openclonk.app/Contents/MacOS/openclonk"
+bin.install Dir[prefix/"c4*"]
diff --git a/homebrew/openclonk/_metadata/description b/homebrew/openclonk/_metadata/description
new file mode 100644
index 000000000..868734b86
--- /dev/null
+++ b/homebrew/openclonk/_metadata/description
@@ -0,0 +1 @@
+Multiplayer action game
diff --git a/homebrew/openclonk/_metadata/homepage b/homebrew/openclonk/_metadata/homepage
new file mode 100644
index 000000000..690037aae
--- /dev/null
+++ b/homebrew/openclonk/_metadata/homepage
@@ -0,0 +1 @@
+https://www.openclonk.org/
diff --git a/homebrew/openclonk/_metadata/name b/homebrew/openclonk/_metadata/name
new file mode 100644
index 000000000..ff6fdee18
--- /dev/null
+++ b/homebrew/openclonk/_metadata/name
@@ -0,0 +1 @@
+Openclonk
diff --git a/homebrew/openclonk/_metadata/version b/homebrew/openclonk/_metadata/version
new file mode 100644
index 000000000..4fedf1d20
--- /dev/null
+++ b/homebrew/openclonk/_metadata/version
@@ -0,0 +1 @@
+7.0
diff --git a/homebrew/openclonk/download.sh b/homebrew/openclonk/download.sh
new file mode 100755
index 000000000..1738696a8
--- /dev/null
+++ b/homebrew/openclonk/download.sh
@@ -0,0 +1 @@
+wget https://www.openclonk.org/builds/release/7.0/openclonk-7.0-src.tar.bz2 \ No newline at end of file