summaryrefslogtreecommitdiff
path: root/homebrew/advancemame
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/advancemame')
-rw-r--r--homebrew/advancemame/.beer36
-rw-r--r--homebrew/advancemame/.make.sh-auto4
-rw-r--r--homebrew/advancemame/_metadata/description1
-rw-r--r--homebrew/advancemame/_metadata/homepage1
-rw-r--r--homebrew/advancemame/_metadata/name1
-rw-r--r--homebrew/advancemame/_metadata/version1
-rwxr-xr-xhomebrew/advancemame/download.sh1
7 files changed, 45 insertions, 0 deletions
diff --git a/homebrew/advancemame/.beer b/homebrew/advancemame/.beer
new file mode 100644
index 000000000..6e136a0a3
--- /dev/null
+++ b/homebrew/advancemame/.beer
@@ -0,0 +1,36 @@
+{
+ "name": "Advancemame",
+ "description": "MAME with advanced video support",
+ "url": "https://github.com/amadvance/advancemame/releases/download/v3.9/advancemame-3.9.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.advancemame.it/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "freetype",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "advancemenu",
+ "reason": "both install `advmenu` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "ENV.delete \"SDKROOT\" if MacOS.version == :yosemite",
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\", \"LDFLAGS=#{ENV.ldflags}\", \"mandir=#{man}\", \"docdir=#{doc}\""
+ ],
+ "version": "3.9",
+ "file": "advancemame.rb"
+} \ No newline at end of file
diff --git a/homebrew/advancemame/.make.sh-auto b/homebrew/advancemame/.make.sh-auto
new file mode 100644
index 000000000..d80d4d236
--- /dev/null
+++ b/homebrew/advancemame/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+ENV.delete "SDKROOT" if MacOS.version == :yosemite
+pkg:configure
+make DESTDIR=${PKG_DEST} install LDFLAGS=${LDFLAGS} mandir=${PKG_TAPF}/share/man docdir=#{doc}
diff --git a/homebrew/advancemame/_metadata/description b/homebrew/advancemame/_metadata/description
new file mode 100644
index 000000000..a3f2e6f90
--- /dev/null
+++ b/homebrew/advancemame/_metadata/description
@@ -0,0 +1 @@
+MAME with advanced video support
diff --git a/homebrew/advancemame/_metadata/homepage b/homebrew/advancemame/_metadata/homepage
new file mode 100644
index 000000000..d52582ad3
--- /dev/null
+++ b/homebrew/advancemame/_metadata/homepage
@@ -0,0 +1 @@
+https://www.advancemame.it/
diff --git a/homebrew/advancemame/_metadata/name b/homebrew/advancemame/_metadata/name
new file mode 100644
index 000000000..86994e5ea
--- /dev/null
+++ b/homebrew/advancemame/_metadata/name
@@ -0,0 +1 @@
+Advancemame
diff --git a/homebrew/advancemame/_metadata/version b/homebrew/advancemame/_metadata/version
new file mode 100644
index 000000000..bd28b9c5c
--- /dev/null
+++ b/homebrew/advancemame/_metadata/version
@@ -0,0 +1 @@
+3.9
diff --git a/homebrew/advancemame/download.sh b/homebrew/advancemame/download.sh
new file mode 100755
index 000000000..95f0e1af7
--- /dev/null
+++ b/homebrew/advancemame/download.sh
@@ -0,0 +1 @@
+wget https://github.com/amadvance/advancemame/releases/download/v3.9/advancemame-3.9.tar.gz \ No newline at end of file