summaryrefslogtreecommitdiff
path: root/homebrew/libu2fhost
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libu2fhost')
-rw-r--r--homebrew/libu2fhost/.beer30
-rw-r--r--homebrew/libu2fhost/.make.sh-auto3
-rw-r--r--homebrew/libu2fhost/_metadata/description1
-rw-r--r--homebrew/libu2fhost/_metadata/homepage1
-rw-r--r--homebrew/libu2fhost/_metadata/name1
-rw-r--r--homebrew/libu2fhost/_metadata/version1
-rwxr-xr-xhomebrew/libu2fhost/download.sh1
7 files changed, 38 insertions, 0 deletions
diff --git a/homebrew/libu2fhost/.beer b/homebrew/libu2fhost/.beer
new file mode 100644
index 000000000..2ac0714cd
--- /dev/null
+++ b/homebrew/libu2fhost/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Libu2fHost",
+ "description": "Host-side of the Universal 2nd Factor (U2F) protocol",
+ "url": "https://developers.yubico.com/libu2f-host/Releases/libu2f-host-1.1.7.tar.xz",
+ "mirror": null,
+ "homepage": "https://developers.yubico.com/libu2f-host/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "hidapi",
+ "build-depend": false
+ },
+ {
+ "depend": "json-c",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.1.7",
+ "file": "libu2f-host.rb"
+} \ No newline at end of file
diff --git a/homebrew/libu2fhost/.make.sh-auto b/homebrew/libu2fhost/.make.sh-auto
new file mode 100644
index 000000000..abf08b27d
--- /dev/null
+++ b/homebrew/libu2fhost/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libu2fhost/_metadata/description b/homebrew/libu2fhost/_metadata/description
new file mode 100644
index 000000000..1146cfad4
--- /dev/null
+++ b/homebrew/libu2fhost/_metadata/description
@@ -0,0 +1 @@
+Host-side of the Universal 2nd Factor (U2F) protocol
diff --git a/homebrew/libu2fhost/_metadata/homepage b/homebrew/libu2fhost/_metadata/homepage
new file mode 100644
index 000000000..93c25eedb
--- /dev/null
+++ b/homebrew/libu2fhost/_metadata/homepage
@@ -0,0 +1 @@
+https://developers.yubico.com/libu2f-host/
diff --git a/homebrew/libu2fhost/_metadata/name b/homebrew/libu2fhost/_metadata/name
new file mode 100644
index 000000000..976e56afb
--- /dev/null
+++ b/homebrew/libu2fhost/_metadata/name
@@ -0,0 +1 @@
+Libu2fHost
diff --git a/homebrew/libu2fhost/_metadata/version b/homebrew/libu2fhost/_metadata/version
new file mode 100644
index 000000000..2bf1ca5f5
--- /dev/null
+++ b/homebrew/libu2fhost/_metadata/version
@@ -0,0 +1 @@
+1.1.7
diff --git a/homebrew/libu2fhost/download.sh b/homebrew/libu2fhost/download.sh
new file mode 100755
index 000000000..69c764e7c
--- /dev/null
+++ b/homebrew/libu2fhost/download.sh
@@ -0,0 +1 @@
+wget https://developers.yubico.com/libu2f-host/Releases/libu2f-host-1.1.7.tar.xz \ No newline at end of file