summaryrefslogtreecommitdiff
path: root/homebrew/libftdi0
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/libftdi0
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/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