diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/opencbm | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/opencbm')
-rw-r--r-- | homebrew/opencbm/.beer | 38 | ||||
-rw-r--r-- | homebrew/opencbm/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/opencbm/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/opencbm/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/opencbm/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/opencbm/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/opencbm/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/opencbm/patches.sh | 1 |
8 files changed, 49 insertions, 0 deletions
diff --git a/homebrew/opencbm/.beer b/homebrew/opencbm/.beer new file mode 100644 index 000000000..f26d99916 --- /dev/null +++ b/homebrew/opencbm/.beer @@ -0,0 +1,38 @@ +{ + "name": "Opencbm", + "description": "Provides access to various floppy drive formats", + "url": "https://spiro.trikaliotis.net/Download/opencbm-0.4.99.99/opencbm-0.4.99.99.tar.bz2", + "mirror": null, + "homepage": "https://spiro.trikaliotis.net/opencbm-alpha", + "depends": [ + { + "depend": "cc65", + "build-depend": true + }, + { + "depend": "libusb-compat", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/48bd0fd/opencbm/endian.diff", + "strip": "1" + } + ], + "install": [ + "ENV.deparallelize", + "args = %W[", + "-fLINUX/Makefile", + "LIBUSB_CONFIG=#{Formula[\"libusb-compat\"].bin}/libusb-config", + "PREFIX=#{prefix}", + "MANDIR=#{man1}", + "]", + "system \"make\", *args", + "system \"make\", \"install-all\", *args" + ], + "version": "0.4.99.99", + "file": "opencbm.rb" +}
\ No newline at end of file diff --git a/homebrew/opencbm/.make.sh-auto b/homebrew/opencbm/.make.sh-auto new file mode 100644 index 000000000..9d2b53798 --- /dev/null +++ b/homebrew/opencbm/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV.deparallelize +args = %W[-fLINUX/Makefile LIBUSB_CONFIG=#{Formula["libusb-compat"].bin}/libusb-config PREFIX=#{prefix} MANDIR=#{man1} ] +make *args +make DESTDIR=${PKG_DEST} install-all *args diff --git a/homebrew/opencbm/_metadata/description b/homebrew/opencbm/_metadata/description new file mode 100644 index 000000000..4091d2183 --- /dev/null +++ b/homebrew/opencbm/_metadata/description @@ -0,0 +1 @@ +Provides access to various floppy drive formats diff --git a/homebrew/opencbm/_metadata/homepage b/homebrew/opencbm/_metadata/homepage new file mode 100644 index 000000000..86d5d8121 --- /dev/null +++ b/homebrew/opencbm/_metadata/homepage @@ -0,0 +1 @@ +https://spiro.trikaliotis.net/opencbm-alpha diff --git a/homebrew/opencbm/_metadata/name b/homebrew/opencbm/_metadata/name new file mode 100644 index 000000000..23dab1c91 --- /dev/null +++ b/homebrew/opencbm/_metadata/name @@ -0,0 +1 @@ +Opencbm diff --git a/homebrew/opencbm/_metadata/version b/homebrew/opencbm/_metadata/version new file mode 100644 index 000000000..4f422a6b4 --- /dev/null +++ b/homebrew/opencbm/_metadata/version @@ -0,0 +1 @@ +0.4.99.99 diff --git a/homebrew/opencbm/download.sh b/homebrew/opencbm/download.sh new file mode 100755 index 000000000..ed2424d35 --- /dev/null +++ b/homebrew/opencbm/download.sh @@ -0,0 +1 @@ +wget https://spiro.trikaliotis.net/Download/opencbm-0.4.99.99/opencbm-0.4.99.99.tar.bz2
\ No newline at end of file diff --git a/homebrew/opencbm/patches.sh b/homebrew/opencbm/patches.sh new file mode 100755 index 000000000..cdd82123d --- /dev/null +++ b/homebrew/opencbm/patches.sh @@ -0,0 +1 @@ +wget https://raw.githubusercontent.com/Homebrew/formula-patches/48bd0fd/opencbm/endian.diff |