summaryrefslogtreecommitdiff
path: root/homebrew/dcled
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/dcled
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/dcled')
-rw-r--r--homebrew/dcled/.beer29
-rw-r--r--homebrew/dcled/.make.sh-auto3
-rw-r--r--homebrew/dcled/_metadata/description1
-rw-r--r--homebrew/dcled/_metadata/homepage1
-rw-r--r--homebrew/dcled/_metadata/name1
-rw-r--r--homebrew/dcled/_metadata/version1
-rwxr-xr-xhomebrew/dcled/download.sh1
7 files changed, 37 insertions, 0 deletions
diff --git a/homebrew/dcled/.beer b/homebrew/dcled/.beer
new file mode 100644
index 000000000..386dc32c2
--- /dev/null
+++ b/homebrew/dcled/.beer
@@ -0,0 +1,29 @@
+{
+ "name": "Dcled",
+ "description": "Linux driver for dream cheeky USB message board",
+ "url": "https://www.jeffrika.com/~malakai/dcled/dcled-2.2.tgz",
+ "mirror": null,
+ "homepage": "https://www.jeffrika.com/~malakai/dcled/index.html",
+ "depends": [
+ {
+ "depend": "libhid",
+ "build-depend": false
+ },
+ {
+ "depend": "libusb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"CC=#{ENV.cc}\",",
+ "\"LIBUSB_CFLAGS=-I#{Formula[\"libusb\"].opt_include}/libusb-1.0\"",
+ "system \"make\", \"install\",",
+ "\"FONTDIR=#{share}/#{name}\",",
+ "\"INSTALLDIR=#{bin}\""
+ ],
+ "version": "2.2",
+ "file": "dcled.rb"
+} \ No newline at end of file
diff --git a/homebrew/dcled/.make.sh-auto b/homebrew/dcled/.make.sh-auto
new file mode 100644
index 000000000..b4de3b66f
--- /dev/null
+++ b/homebrew/dcled/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make CC=${PKG_TARG}-clang LIBUSB_CFLAGS=-I#{Formula[libusb"].opt_include}/libusb-1.0"
+make DESTDIR=${PKG_DEST} install FONTDIR=#{share}/#{name} INSTALLDIR=#{bin}
diff --git a/homebrew/dcled/_metadata/description b/homebrew/dcled/_metadata/description
new file mode 100644
index 000000000..ded54e126
--- /dev/null
+++ b/homebrew/dcled/_metadata/description
@@ -0,0 +1 @@
+Linux driver for dream cheeky USB message board
diff --git a/homebrew/dcled/_metadata/homepage b/homebrew/dcled/_metadata/homepage
new file mode 100644
index 000000000..0e60cc30d
--- /dev/null
+++ b/homebrew/dcled/_metadata/homepage
@@ -0,0 +1 @@
+https://www.jeffrika.com/~malakai/dcled/index.html
diff --git a/homebrew/dcled/_metadata/name b/homebrew/dcled/_metadata/name
new file mode 100644
index 000000000..2efd12be4
--- /dev/null
+++ b/homebrew/dcled/_metadata/name
@@ -0,0 +1 @@
+Dcled
diff --git a/homebrew/dcled/_metadata/version b/homebrew/dcled/_metadata/version
new file mode 100644
index 000000000..8bbe6cf74
--- /dev/null
+++ b/homebrew/dcled/_metadata/version
@@ -0,0 +1 @@
+2.2
diff --git a/homebrew/dcled/download.sh b/homebrew/dcled/download.sh
new file mode 100755
index 000000000..35f3fc0c2
--- /dev/null
+++ b/homebrew/dcled/download.sh
@@ -0,0 +1 @@
+wget https://www.jeffrika.com/~malakai/dcled/dcled-2.2.tgz \ No newline at end of file