summaryrefslogtreecommitdiff
path: root/homebrew/dfuprogrammer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/dfuprogrammer')
-rw-r--r--homebrew/dfuprogrammer/.beer32
-rw-r--r--homebrew/dfuprogrammer/.make.sh-auto3
-rw-r--r--homebrew/dfuprogrammer/_metadata/description1
-rw-r--r--homebrew/dfuprogrammer/_metadata/homepage1
-rw-r--r--homebrew/dfuprogrammer/_metadata/name1
-rw-r--r--homebrew/dfuprogrammer/_metadata/version1
-rwxr-xr-xhomebrew/dfuprogrammer/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/dfuprogrammer/.beer b/homebrew/dfuprogrammer/.beer
new file mode 100644
index 000000000..268fc676a
--- /dev/null
+++ b/homebrew/dfuprogrammer/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "DfuProgrammer",
+ "description": "Device firmware update based USB programmer for Atmel chips",
+ "url": "https://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-0.7.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://dfu-programmer.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libusb-compat",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./bootstrap.sh\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--disable-libusb_1_0\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.7.2",
+ "file": "dfu-programmer.rb"
+} \ No newline at end of file
diff --git a/homebrew/dfuprogrammer/.make.sh-auto b/homebrew/dfuprogrammer/.make.sh-auto
new file mode 100644
index 000000000..25f77e2e5
--- /dev/null
+++ b/homebrew/dfuprogrammer/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-libusb_1_0
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/dfuprogrammer/_metadata/description b/homebrew/dfuprogrammer/_metadata/description
new file mode 100644
index 000000000..88dbb2b39
--- /dev/null
+++ b/homebrew/dfuprogrammer/_metadata/description
@@ -0,0 +1 @@
+Device firmware update based USB programmer for Atmel chips
diff --git a/homebrew/dfuprogrammer/_metadata/homepage b/homebrew/dfuprogrammer/_metadata/homepage
new file mode 100644
index 000000000..14a3696cd
--- /dev/null
+++ b/homebrew/dfuprogrammer/_metadata/homepage
@@ -0,0 +1 @@
+https://dfu-programmer.sourceforge.io/
diff --git a/homebrew/dfuprogrammer/_metadata/name b/homebrew/dfuprogrammer/_metadata/name
new file mode 100644
index 000000000..9ef910a31
--- /dev/null
+++ b/homebrew/dfuprogrammer/_metadata/name
@@ -0,0 +1 @@
+DfuProgrammer
diff --git a/homebrew/dfuprogrammer/_metadata/version b/homebrew/dfuprogrammer/_metadata/version
new file mode 100644
index 000000000..7486fdbc5
--- /dev/null
+++ b/homebrew/dfuprogrammer/_metadata/version
@@ -0,0 +1 @@
+0.7.2
diff --git a/homebrew/dfuprogrammer/download.sh b/homebrew/dfuprogrammer/download.sh
new file mode 100755
index 000000000..325b93a2a
--- /dev/null
+++ b/homebrew/dfuprogrammer/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/dfu-programmer/dfu-programmer/0.7.2/dfu-programmer-0.7.2.tar.gz \ No newline at end of file