summaryrefslogtreecommitdiff
path: root/homebrew/libjwt
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libjwt')
-rw-r--r--homebrew/libjwt/.beer46
-rw-r--r--homebrew/libjwt/.make.sh-auto5
-rw-r--r--homebrew/libjwt/_metadata/description1
-rw-r--r--homebrew/libjwt/_metadata/homepage1
-rw-r--r--homebrew/libjwt/_metadata/name1
-rw-r--r--homebrew/libjwt/_metadata/version1
-rwxr-xr-xhomebrew/libjwt/download.sh1
7 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/libjwt/.beer b/homebrew/libjwt/.beer
new file mode 100644
index 000000000..f1f3fc9c1
--- /dev/null
+++ b/homebrew/libjwt/.beer
@@ -0,0 +1,46 @@
+{
+ "name": "Libjwt",
+ "description": "JSON Web Token C library",
+ "url": "https://github.com/benmcollins/libjwt/archive/v1.10.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/benmcollins/libjwt",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "jansson",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"autoreconf\", \"-fiv\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"all\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.10.1",
+ "file": "libjwt.rb"
+} \ No newline at end of file
diff --git a/homebrew/libjwt/.make.sh-auto b/homebrew/libjwt/.make.sh-auto
new file mode 100644
index 000000000..efc8fbd8b
--- /dev/null
+++ b/homebrew/libjwt/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+autoreconf -fiv
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make all
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libjwt/_metadata/description b/homebrew/libjwt/_metadata/description
new file mode 100644
index 000000000..027f9c677
--- /dev/null
+++ b/homebrew/libjwt/_metadata/description
@@ -0,0 +1 @@
+JSON Web Token C library
diff --git a/homebrew/libjwt/_metadata/homepage b/homebrew/libjwt/_metadata/homepage
new file mode 100644
index 000000000..d152ad67a
--- /dev/null
+++ b/homebrew/libjwt/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/benmcollins/libjwt
diff --git a/homebrew/libjwt/_metadata/name b/homebrew/libjwt/_metadata/name
new file mode 100644
index 000000000..221bd6001
--- /dev/null
+++ b/homebrew/libjwt/_metadata/name
@@ -0,0 +1 @@
+Libjwt
diff --git a/homebrew/libjwt/_metadata/version b/homebrew/libjwt/_metadata/version
new file mode 100644
index 000000000..4dae2985b
--- /dev/null
+++ b/homebrew/libjwt/_metadata/version
@@ -0,0 +1 @@
+1.10.1
diff --git a/homebrew/libjwt/download.sh b/homebrew/libjwt/download.sh
new file mode 100755
index 000000000..2bc5eb798
--- /dev/null
+++ b/homebrew/libjwt/download.sh
@@ -0,0 +1 @@
+wget https://github.com/benmcollins/libjwt/archive/v1.10.1.tar.gz \ No newline at end of file