summaryrefslogtreecommitdiff
path: root/homebrew/emsflasher
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/emsflasher
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/emsflasher')
-rw-r--r--homebrew/emsflasher/.beer40
-rw-r--r--homebrew/emsflasher/.make.sh-auto8
-rw-r--r--homebrew/emsflasher/_metadata/description1
-rw-r--r--homebrew/emsflasher/_metadata/homepage1
-rw-r--r--homebrew/emsflasher/_metadata/name1
-rw-r--r--homebrew/emsflasher/_metadata/version1
-rwxr-xr-xhomebrew/emsflasher/download.sh1
7 files changed, 53 insertions, 0 deletions
diff --git a/homebrew/emsflasher/.beer b/homebrew/emsflasher/.beer
new file mode 100644
index 000000000..e176c5f47
--- /dev/null
+++ b/homebrew/emsflasher/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "EmsFlasher",
+ "description": "Software for flashing the EMS Gameboy USB cart",
+ "url": "https://lacklustre.net/projects/ems-flasher/ems-flasher-0.03.tgz",
+ "mirror": null,
+ "homepage": "https://lacklustre.net/projects/ems-flasher/",
+ "depends": [
+ {
+ "depend": "coreutils",
+ "build-depend": true
+ },
+ {
+ "depend": "gawk",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libusb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "if build.head?",
+ "system \"./config.sh\", \"--prefix\", prefix",
+ "man1.mkpath",
+ "system \"make\", \"install\"",
+ "else",
+ "system \"make\"",
+ "bin.install \"ems-flasher\"",
+ "end"
+ ],
+ "version": "0.03",
+ "file": "ems-flasher.rb"
+} \ No newline at end of file
diff --git a/homebrew/emsflasher/.make.sh-auto b/homebrew/emsflasher/.make.sh-auto
new file mode 100644
index 000000000..049ec0b42
--- /dev/null
+++ b/homebrew/emsflasher/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+./config.sh --prefix prefix
+man1.mkpath
+make DESTDIR=${PKG_DEST} install
+else
+make
+bin.install "ems-flasher"
+end
diff --git a/homebrew/emsflasher/_metadata/description b/homebrew/emsflasher/_metadata/description
new file mode 100644
index 000000000..39707533e
--- /dev/null
+++ b/homebrew/emsflasher/_metadata/description
@@ -0,0 +1 @@
+Software for flashing the EMS Gameboy USB cart
diff --git a/homebrew/emsflasher/_metadata/homepage b/homebrew/emsflasher/_metadata/homepage
new file mode 100644
index 000000000..24b899879
--- /dev/null
+++ b/homebrew/emsflasher/_metadata/homepage
@@ -0,0 +1 @@
+https://lacklustre.net/projects/ems-flasher/
diff --git a/homebrew/emsflasher/_metadata/name b/homebrew/emsflasher/_metadata/name
new file mode 100644
index 000000000..e2ce18a3a
--- /dev/null
+++ b/homebrew/emsflasher/_metadata/name
@@ -0,0 +1 @@
+EmsFlasher
diff --git a/homebrew/emsflasher/_metadata/version b/homebrew/emsflasher/_metadata/version
new file mode 100644
index 000000000..ff1e90107
--- /dev/null
+++ b/homebrew/emsflasher/_metadata/version
@@ -0,0 +1 @@
+0.03
diff --git a/homebrew/emsflasher/download.sh b/homebrew/emsflasher/download.sh
new file mode 100755
index 000000000..fff0d0718
--- /dev/null
+++ b/homebrew/emsflasher/download.sh
@@ -0,0 +1 @@
+wget https://lacklustre.net/projects/ems-flasher/ems-flasher-0.03.tgz \ No newline at end of file