summaryrefslogtreecommitdiff
path: root/homebrew/dfuutil
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/dfuutil')
-rw-r--r--homebrew/dfuutil/.beer40
-rw-r--r--homebrew/dfuutil/.make.sh-auto3
-rw-r--r--homebrew/dfuutil/_metadata/description1
-rw-r--r--homebrew/dfuutil/_metadata/homepage1
-rw-r--r--homebrew/dfuutil/_metadata/name1
-rw-r--r--homebrew/dfuutil/_metadata/version1
-rwxr-xr-xhomebrew/dfuutil/download.sh1
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/dfuutil/.beer b/homebrew/dfuutil/.beer
new file mode 100644
index 000000000..05b25a1c8
--- /dev/null
+++ b/homebrew/dfuutil/.beer
@@ -0,0 +1,40 @@
+{
+ "name": "DfuUtil",
+ "description": "USB programmer",
+ "url": "https://downloads.sourceforge.net/project/dfu-util/dfu-util-0.9.tar.gz",
+ "mirror": null,
+ "homepage": "https://dfu-util.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libusb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\" if build.head?",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.9",
+ "file": "dfu-util.rb"
+} \ No newline at end of file
diff --git a/homebrew/dfuutil/.make.sh-auto b/homebrew/dfuutil/.make.sh-auto
new file mode 100644
index 000000000..557a9e0d1
--- /dev/null
+++ b/homebrew/dfuutil/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/dfuutil/_metadata/description b/homebrew/dfuutil/_metadata/description
new file mode 100644
index 000000000..3e4151c82
--- /dev/null
+++ b/homebrew/dfuutil/_metadata/description
@@ -0,0 +1 @@
+USB programmer
diff --git a/homebrew/dfuutil/_metadata/homepage b/homebrew/dfuutil/_metadata/homepage
new file mode 100644
index 000000000..aa3b1b910
--- /dev/null
+++ b/homebrew/dfuutil/_metadata/homepage
@@ -0,0 +1 @@
+https://dfu-util.sourceforge.io/
diff --git a/homebrew/dfuutil/_metadata/name b/homebrew/dfuutil/_metadata/name
new file mode 100644
index 000000000..b4d87ff68
--- /dev/null
+++ b/homebrew/dfuutil/_metadata/name
@@ -0,0 +1 @@
+DfuUtil
diff --git a/homebrew/dfuutil/_metadata/version b/homebrew/dfuutil/_metadata/version
new file mode 100644
index 000000000..b63ba696b
--- /dev/null
+++ b/homebrew/dfuutil/_metadata/version
@@ -0,0 +1 @@
+0.9
diff --git a/homebrew/dfuutil/download.sh b/homebrew/dfuutil/download.sh
new file mode 100755
index 000000000..839a3ade3
--- /dev/null
+++ b/homebrew/dfuutil/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/dfu-util/dfu-util-0.9.tar.gz \ No newline at end of file