summaryrefslogtreecommitdiff
path: root/homebrew/dgen
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/dgen
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/dgen')
-rw-r--r--homebrew/dgen/.beer41
-rw-r--r--homebrew/dgen/.make.sh-auto4
-rw-r--r--homebrew/dgen/_metadata/description1
-rw-r--r--homebrew/dgen/_metadata/homepage1
-rw-r--r--homebrew/dgen/_metadata/name1
-rw-r--r--homebrew/dgen/_metadata/version1
-rwxr-xr-xhomebrew/dgen/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/dgen/.beer b/homebrew/dgen/.beer
new file mode 100644
index 000000000..077d25512
--- /dev/null
+++ b/homebrew/dgen/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "Dgen",
+ "description": "Sega Genesis / Mega Drive emulator",
+ "url": "https://downloads.sourceforge.net/project/dgen/dgen/1.33/dgen-sdl-1.33.tar.gz",
+ "mirror": null,
+ "homepage": "https://dgen.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libarchive",
+ "build-depend": false
+ },
+ {
+ "depend": "sdl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--disable-silent-rules",
+ "--disable-dependency-tracking",
+ "--disable-sdltest",
+ "--prefix=#{prefix}",
+ "]",
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.33",
+ "file": "dgen.rb"
+} \ No newline at end of file
diff --git a/homebrew/dgen/.make.sh-auto b/homebrew/dgen/.make.sh-auto
new file mode 100644
index 000000000..507d274d1
--- /dev/null
+++ b/homebrew/dgen/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+args = %W[--disable-silent-rules --disable-dependency-tracking --disable-sdltest --prefix=#{prefix} ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/dgen/_metadata/description b/homebrew/dgen/_metadata/description
new file mode 100644
index 000000000..16c3bbd73
--- /dev/null
+++ b/homebrew/dgen/_metadata/description
@@ -0,0 +1 @@
+Sega Genesis / Mega Drive emulator
diff --git a/homebrew/dgen/_metadata/homepage b/homebrew/dgen/_metadata/homepage
new file mode 100644
index 000000000..db530d09d
--- /dev/null
+++ b/homebrew/dgen/_metadata/homepage
@@ -0,0 +1 @@
+https://dgen.sourceforge.io/
diff --git a/homebrew/dgen/_metadata/name b/homebrew/dgen/_metadata/name
new file mode 100644
index 000000000..4586d584d
--- /dev/null
+++ b/homebrew/dgen/_metadata/name
@@ -0,0 +1 @@
+Dgen
diff --git a/homebrew/dgen/_metadata/version b/homebrew/dgen/_metadata/version
new file mode 100644
index 000000000..653f1a8e8
--- /dev/null
+++ b/homebrew/dgen/_metadata/version
@@ -0,0 +1 @@
+1.33
diff --git a/homebrew/dgen/download.sh b/homebrew/dgen/download.sh
new file mode 100755
index 000000000..99057af3a
--- /dev/null
+++ b/homebrew/dgen/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/dgen/dgen/1.33/dgen-sdl-1.33.tar.gz \ No newline at end of file