summaryrefslogtreecommitdiff
path: root/homebrew/wslay
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/wslay
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/wslay')
-rw-r--r--homebrew/wslay/.beer46
-rw-r--r--homebrew/wslay/.make.sh-auto4
-rw-r--r--homebrew/wslay/_metadata/description1
-rw-r--r--homebrew/wslay/_metadata/homepage1
-rw-r--r--homebrew/wslay/_metadata/name1
-rw-r--r--homebrew/wslay/_metadata/version1
-rwxr-xr-xhomebrew/wslay/download.sh1
7 files changed, 55 insertions, 0 deletions
diff --git a/homebrew/wslay/.beer b/homebrew/wslay/.beer
new file mode 100644
index 000000000..769e987e9
--- /dev/null
+++ b/homebrew/wslay/.beer
@@ -0,0 +1,46 @@
+{
+ "name": "Wslay",
+ "description": "C websocket library",
+ "url": "https://github.com/tatsuhiro-t/wslay/releases/download/release-1.1.0/wslay-1.1.0.tar.xz",
+ "mirror": null,
+ "homepage": "https://wslay.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "cunit",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "sphinx-doc",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"autoreconf\", \"-fvi\" if build.head?",
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\"",
+ "system \"make\", \"check\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.1.0",
+ "file": "wslay.rb"
+} \ No newline at end of file
diff --git a/homebrew/wslay/.make.sh-auto b/homebrew/wslay/.make.sh-auto
new file mode 100644
index 000000000..4315aa8d4
--- /dev/null
+++ b/homebrew/wslay/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make check
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/wslay/_metadata/description b/homebrew/wslay/_metadata/description
new file mode 100644
index 000000000..8cd038c02
--- /dev/null
+++ b/homebrew/wslay/_metadata/description
@@ -0,0 +1 @@
+C websocket library
diff --git a/homebrew/wslay/_metadata/homepage b/homebrew/wslay/_metadata/homepage
new file mode 100644
index 000000000..bbc30311d
--- /dev/null
+++ b/homebrew/wslay/_metadata/homepage
@@ -0,0 +1 @@
+https://wslay.sourceforge.io/
diff --git a/homebrew/wslay/_metadata/name b/homebrew/wslay/_metadata/name
new file mode 100644
index 000000000..be2a2538d
--- /dev/null
+++ b/homebrew/wslay/_metadata/name
@@ -0,0 +1 @@
+Wslay
diff --git a/homebrew/wslay/_metadata/version b/homebrew/wslay/_metadata/version
new file mode 100644
index 000000000..9084fa2f7
--- /dev/null
+++ b/homebrew/wslay/_metadata/version
@@ -0,0 +1 @@
+1.1.0
diff --git a/homebrew/wslay/download.sh b/homebrew/wslay/download.sh
new file mode 100755
index 000000000..47e64daed
--- /dev/null
+++ b/homebrew/wslay/download.sh
@@ -0,0 +1 @@
+wget https://github.com/tatsuhiro-t/wslay/releases/download/release-1.1.0/wslay-1.1.0.tar.xz \ No newline at end of file