summaryrefslogtreecommitdiff
path: root/homebrew/spdylay
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/spdylay
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/spdylay')
-rw-r--r--homebrew/spdylay/.beer48
-rw-r--r--homebrew/spdylay/.make.sh-auto8
-rw-r--r--homebrew/spdylay/_metadata/description1
-rw-r--r--homebrew/spdylay/_metadata/homepage1
-rw-r--r--homebrew/spdylay/_metadata/name1
-rw-r--r--homebrew/spdylay/_metadata/version1
-rwxr-xr-xhomebrew/spdylay/download.sh1
7 files changed, 61 insertions, 0 deletions
diff --git a/homebrew/spdylay/.beer b/homebrew/spdylay/.beer
new file mode 100644
index 000000000..91280a837
--- /dev/null
+++ b/homebrew/spdylay/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Spdylay",
+ "description": "Experimental implementation of SPDY protocol versions 2, 3, and 3.1",
+ "url": "https://github.com/tatsuhiro-t/spdylay/archive/v1.4.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/tatsuhiro-t/spdylay",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libevent",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "if MacOS.version == \"10.11\" && MacOS::Xcode.version >= \"8.0\"",
+ "ENV[\"ac_cv_search_clock_gettime\"] = \"no\"",
+ "end",
+ "Formula[\"libxml2\"].stable.stage { (buildpath/\"m4\").install \"libxml.m4\" }",
+ "system \"autoreconf\", \"-fiv\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.4.0",
+ "file": "spdylay.rb"
+} \ No newline at end of file
diff --git a/homebrew/spdylay/.make.sh-auto b/homebrew/spdylay/.make.sh-auto
new file mode 100644
index 000000000..16ee0e224
--- /dev/null
+++ b/homebrew/spdylay/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+if MacOS.version == "10.11" && MacOS::Xcode.version >= "8.0"
+ENV["ac_cv_search_clock_gettime"] = "no"
+end
+Formula["libxml2"].stable.stage { (buildpath/"m4").install "libxml.m4" }
+autoreconf -fiv
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/spdylay/_metadata/description b/homebrew/spdylay/_metadata/description
new file mode 100644
index 000000000..a17e161db
--- /dev/null
+++ b/homebrew/spdylay/_metadata/description
@@ -0,0 +1 @@
+Experimental implementation of SPDY protocol versions 2, 3, and 3.1
diff --git a/homebrew/spdylay/_metadata/homepage b/homebrew/spdylay/_metadata/homepage
new file mode 100644
index 000000000..ca2a265f1
--- /dev/null
+++ b/homebrew/spdylay/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/tatsuhiro-t/spdylay
diff --git a/homebrew/spdylay/_metadata/name b/homebrew/spdylay/_metadata/name
new file mode 100644
index 000000000..1c96d2fd6
--- /dev/null
+++ b/homebrew/spdylay/_metadata/name
@@ -0,0 +1 @@
+Spdylay
diff --git a/homebrew/spdylay/_metadata/version b/homebrew/spdylay/_metadata/version
new file mode 100644
index 000000000..88c5fb891
--- /dev/null
+++ b/homebrew/spdylay/_metadata/version
@@ -0,0 +1 @@
+1.4.0
diff --git a/homebrew/spdylay/download.sh b/homebrew/spdylay/download.sh
new file mode 100755
index 000000000..e701a0e43
--- /dev/null
+++ b/homebrew/spdylay/download.sh
@@ -0,0 +1 @@
+wget https://github.com/tatsuhiro-t/spdylay/archive/v1.4.0.tar.gz \ No newline at end of file