summaryrefslogtreecommitdiff
path: root/homebrew/libftdi0
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libftdi0')
-rw-r--r--homebrew/libftdi0/.beer33
-rw-r--r--homebrew/libftdi0/.make.sh-auto5
-rw-r--r--homebrew/libftdi0/_metadata/description1
-rw-r--r--homebrew/libftdi0/_metadata/homepage1
-rw-r--r--homebrew/libftdi0/_metadata/name1
-rw-r--r--homebrew/libftdi0/_metadata/version1
-rwxr-xr-xhomebrew/libftdi0/download.sh1
7 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/libftdi0/.beer b/homebrew/libftdi0/.beer
new file mode 100644
index 000000000..f1d6b1a5a
--- /dev/null
+++ b/homebrew/libftdi0/.beer
@@ -0,0 +1,33 @@
+{
+ "name": "Libftdi0",
+ "description": "Library to talk to FTDI chips",
+ "url": "https://www.intra2net.com/en/developer/libftdi/download/libftdi-0.20.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.intra2net.com/en/developer/libftdi",
+ "depends": [
+ {
+ "depend": "libusb-compat",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "cspice",
+ "reason": "both install `simple` binaries"
+ },
+ {
+ "conflict": "openhmd",
+ "reason": "both install `simple` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "mkdir \"libftdi-build\" do",
+ "system \"../configure\", \"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.20",
+ "file": "libftdi0.rb"
+} \ No newline at end of file
diff --git a/homebrew/libftdi0/.make.sh-auto b/homebrew/libftdi0/.make.sh-auto
new file mode 100644
index 000000000..6f4eba972
--- /dev/null
+++ b/homebrew/libftdi0/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mkdir "libftdi-build" && cd libftdi-build
+PKG_CONF=../configure pkg:configure
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libftdi0/_metadata/description b/homebrew/libftdi0/_metadata/description
new file mode 100644
index 000000000..f21a043e1
--- /dev/null
+++ b/homebrew/libftdi0/_metadata/description
@@ -0,0 +1 @@
+Library to talk to FTDI chips
diff --git a/homebrew/libftdi0/_metadata/homepage b/homebrew/libftdi0/_metadata/homepage
new file mode 100644
index 000000000..ab8cb44af
--- /dev/null
+++ b/homebrew/libftdi0/_metadata/homepage
@@ -0,0 +1 @@
+https://www.intra2net.com/en/developer/libftdi
diff --git a/homebrew/libftdi0/_metadata/name b/homebrew/libftdi0/_metadata/name
new file mode 100644
index 000000000..4bc97dfd1
--- /dev/null
+++ b/homebrew/libftdi0/_metadata/name
@@ -0,0 +1 @@
+Libftdi0
diff --git a/homebrew/libftdi0/_metadata/version b/homebrew/libftdi0/_metadata/version
new file mode 100644
index 000000000..9f4eca259
--- /dev/null
+++ b/homebrew/libftdi0/_metadata/version
@@ -0,0 +1 @@
+0.20
diff --git a/homebrew/libftdi0/download.sh b/homebrew/libftdi0/download.sh
new file mode 100755
index 000000000..65736c519
--- /dev/null
+++ b/homebrew/libftdi0/download.sh
@@ -0,0 +1 @@
+wget https://www.intra2net.com/en/developer/libftdi/download/libftdi-0.20.tar.gz \ No newline at end of file