summaryrefslogtreecommitdiff
path: root/homebrew/advancemenu
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/advancemenu
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/advancemenu')
-rw-r--r--homebrew/advancemenu/.beer27
-rw-r--r--homebrew/advancemenu/.make.sh-auto3
-rw-r--r--homebrew/advancemenu/_metadata/description1
-rw-r--r--homebrew/advancemenu/_metadata/homepage1
-rw-r--r--homebrew/advancemenu/_metadata/name1
-rw-r--r--homebrew/advancemenu/_metadata/version1
-rwxr-xr-xhomebrew/advancemenu/download.sh1
7 files changed, 35 insertions, 0 deletions
diff --git a/homebrew/advancemenu/.beer b/homebrew/advancemenu/.beer
new file mode 100644
index 000000000..ffc245ccf
--- /dev/null
+++ b/homebrew/advancemenu/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Advancemenu",
+ "description": "Frontend for AdvanceMAME/MESS",
+ "url": "https://github.com/amadvance/advancemame/releases/download/advancemenu-2.9/advancemenu-2.9.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.advancemame.it/menu-readme.html",
+ "depends": [
+ {
+ "depend": "sdl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "advancemame",
+ "reason": "both install `advmenu` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\", \"LDFLAGS=#{ENV.ldflags}\", \"mandir=#{man}\""
+ ],
+ "version": "2.9",
+ "file": "advancemenu.rb"
+} \ No newline at end of file
diff --git a/homebrew/advancemenu/.make.sh-auto b/homebrew/advancemenu/.make.sh-auto
new file mode 100644
index 000000000..154fe49e8
--- /dev/null
+++ b/homebrew/advancemenu/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure
+make DESTDIR=${PKG_DEST} install LDFLAGS=${LDFLAGS} mandir=${PKG_TAPF}/share/man
diff --git a/homebrew/advancemenu/_metadata/description b/homebrew/advancemenu/_metadata/description
new file mode 100644
index 000000000..c8b0159d4
--- /dev/null
+++ b/homebrew/advancemenu/_metadata/description
@@ -0,0 +1 @@
+Frontend for AdvanceMAME/MESS
diff --git a/homebrew/advancemenu/_metadata/homepage b/homebrew/advancemenu/_metadata/homepage
new file mode 100644
index 000000000..6d3ee5e1b
--- /dev/null
+++ b/homebrew/advancemenu/_metadata/homepage
@@ -0,0 +1 @@
+https://www.advancemame.it/menu-readme.html
diff --git a/homebrew/advancemenu/_metadata/name b/homebrew/advancemenu/_metadata/name
new file mode 100644
index 000000000..27ddbf480
--- /dev/null
+++ b/homebrew/advancemenu/_metadata/name
@@ -0,0 +1 @@
+Advancemenu
diff --git a/homebrew/advancemenu/_metadata/version b/homebrew/advancemenu/_metadata/version
new file mode 100644
index 000000000..8c2691509
--- /dev/null
+++ b/homebrew/advancemenu/_metadata/version
@@ -0,0 +1 @@
+2.9
diff --git a/homebrew/advancemenu/download.sh b/homebrew/advancemenu/download.sh
new file mode 100755
index 000000000..5dc39bed8
--- /dev/null
+++ b/homebrew/advancemenu/download.sh
@@ -0,0 +1 @@
+wget https://github.com/amadvance/advancemame/releases/download/advancemenu-2.9/advancemenu-2.9.tar.gz \ No newline at end of file