summaryrefslogtreecommitdiff
path: root/homebrew/libusbcompat
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/libusbcompat
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/libusbcompat')
-rw-r--r--homebrew/libusbcompat/.beer26
-rw-r--r--homebrew/libusbcompat/.make.sh-auto3
-rw-r--r--homebrew/libusbcompat/_metadata/description1
-rw-r--r--homebrew/libusbcompat/_metadata/homepage1
-rw-r--r--homebrew/libusbcompat/_metadata/name1
-rw-r--r--homebrew/libusbcompat/_metadata/version1
-rwxr-xr-xhomebrew/libusbcompat/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/libusbcompat/.beer b/homebrew/libusbcompat/.beer
new file mode 100644
index 000000000..c7a0ae3ac
--- /dev/null
+++ b/homebrew/libusbcompat/.beer
@@ -0,0 +1,26 @@
+{
+ "name": "LibusbCompat",
+ "description": "Library for USB device access",
+ "url": "https://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2",
+ "mirror": null,
+ "homepage": "https://libusb.info/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libusb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\", \"--disable-dependency-tracking\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.1.5",
+ "file": "libusb-compat.rb"
+} \ No newline at end of file
diff --git a/homebrew/libusbcompat/.make.sh-auto b/homebrew/libusbcompat/.make.sh-auto
new file mode 100644
index 000000000..557a9e0d1
--- /dev/null
+++ b/homebrew/libusbcompat/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libusbcompat/_metadata/description b/homebrew/libusbcompat/_metadata/description
new file mode 100644
index 000000000..a1f4e6408
--- /dev/null
+++ b/homebrew/libusbcompat/_metadata/description
@@ -0,0 +1 @@
+Library for USB device access
diff --git a/homebrew/libusbcompat/_metadata/homepage b/homebrew/libusbcompat/_metadata/homepage
new file mode 100644
index 000000000..eb1250c86
--- /dev/null
+++ b/homebrew/libusbcompat/_metadata/homepage
@@ -0,0 +1 @@
+https://libusb.info/
diff --git a/homebrew/libusbcompat/_metadata/name b/homebrew/libusbcompat/_metadata/name
new file mode 100644
index 000000000..73d24ef1b
--- /dev/null
+++ b/homebrew/libusbcompat/_metadata/name
@@ -0,0 +1 @@
+LibusbCompat
diff --git a/homebrew/libusbcompat/_metadata/version b/homebrew/libusbcompat/_metadata/version
new file mode 100644
index 000000000..9faa1b7a7
--- /dev/null
+++ b/homebrew/libusbcompat/_metadata/version
@@ -0,0 +1 @@
+0.1.5
diff --git a/homebrew/libusbcompat/download.sh b/homebrew/libusbcompat/download.sh
new file mode 100755
index 000000000..1b6c11e18
--- /dev/null
+++ b/homebrew/libusbcompat/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2 \ No newline at end of file