summaryrefslogtreecommitdiff
path: root/homebrew/dumb
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/dumb
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/dumb')
-rw-r--r--homebrew/dumb/.beer25
-rw-r--r--homebrew/dumb/.make.sh-auto11
-rw-r--r--homebrew/dumb/_metadata/description1
-rw-r--r--homebrew/dumb/_metadata/homepage1
-rw-r--r--homebrew/dumb/_metadata/name1
-rw-r--r--homebrew/dumb/_metadata/version1
-rwxr-xr-xhomebrew/dumb/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/dumb/.beer b/homebrew/dumb/.beer
new file mode 100644
index 000000000..6f0707a6d
--- /dev/null
+++ b/homebrew/dumb/.beer
@@ -0,0 +1,25 @@
+{
+ "name": "Dumb",
+ "description": "IT, XM, S3M and MOD player library",
+ "url": "https://downloads.sourceforge.net/project/dumb/dumb/0.9.3/dumb-0.9.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://dumb.sourceforge.io",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(buildpath/\"make/config.txt\").write <<~EOS",
+ "include make/unix.inc",
+ "ALL_TARGETS := core core-examples core-headers",
+ "PREFIX := #{prefix}",
+ "EOS",
+ "bin.mkpath",
+ "include.mkpath",
+ "lib.mkpath",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.9.3",
+ "file": "dumb.rb"
+} \ No newline at end of file
diff --git a/homebrew/dumb/.make.sh-auto b/homebrew/dumb/.make.sh-auto
new file mode 100644
index 000000000..e081fcec3
--- /dev/null
+++ b/homebrew/dumb/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+(buildpath/"make/config.txt").write <<~EOS
+include make/unix.inc
+ALL_TARGETS := core core-examples core-headers
+PREFIX := #{prefix}
+EOS
+bin.mkpath
+include.mkpath
+lib.mkpath
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/dumb/_metadata/description b/homebrew/dumb/_metadata/description
new file mode 100644
index 000000000..4559c6a34
--- /dev/null
+++ b/homebrew/dumb/_metadata/description
@@ -0,0 +1 @@
+IT, XM, S3M and MOD player library
diff --git a/homebrew/dumb/_metadata/homepage b/homebrew/dumb/_metadata/homepage
new file mode 100644
index 000000000..fbed59eb0
--- /dev/null
+++ b/homebrew/dumb/_metadata/homepage
@@ -0,0 +1 @@
+https://dumb.sourceforge.io
diff --git a/homebrew/dumb/_metadata/name b/homebrew/dumb/_metadata/name
new file mode 100644
index 000000000..32315d793
--- /dev/null
+++ b/homebrew/dumb/_metadata/name
@@ -0,0 +1 @@
+Dumb
diff --git a/homebrew/dumb/_metadata/version b/homebrew/dumb/_metadata/version
new file mode 100644
index 000000000..965065db5
--- /dev/null
+++ b/homebrew/dumb/_metadata/version
@@ -0,0 +1 @@
+0.9.3
diff --git a/homebrew/dumb/download.sh b/homebrew/dumb/download.sh
new file mode 100755
index 000000000..fbad55362
--- /dev/null
+++ b/homebrew/dumb/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/dumb/dumb/0.9.3/dumb-0.9.3.tar.gz \ No newline at end of file