summaryrefslogtreecommitdiff
path: root/homebrew/httpparser
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/httpparser
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/httpparser')
-rw-r--r--homebrew/httpparser/.beer22
-rw-r--r--homebrew/httpparser/.make.sh-auto3
-rw-r--r--homebrew/httpparser/_metadata/description1
-rw-r--r--homebrew/httpparser/_metadata/homepage1
-rw-r--r--homebrew/httpparser/_metadata/name1
-rw-r--r--homebrew/httpparser/_metadata/version1
-rwxr-xr-xhomebrew/httpparser/download.sh1
7 files changed, 30 insertions, 0 deletions
diff --git a/homebrew/httpparser/.beer b/homebrew/httpparser/.beer
new file mode 100644
index 000000000..c87cf5ae1
--- /dev/null
+++ b/homebrew/httpparser/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "HttpParser",
+ "description": "HTTP request/response parser for c",
+ "url": "https://github.com/nodejs/http-parser/archive/v2.9.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/nodejs/http-parser",
+ "depends": [
+ {
+ "depend": "coreutils",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\", \"INSTALL=ginstall\"",
+ "pkgshare.install \"test.c\""
+ ],
+ "version": "2.9.2",
+ "file": "http-parser.rb"
+} \ No newline at end of file
diff --git a/homebrew/httpparser/.make.sh-auto b/homebrew/httpparser/.make.sh-auto
new file mode 100644
index 000000000..b762e5057
--- /dev/null
+++ b/homebrew/httpparser/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF} INSTALL=ginstall
+pkgshare.install "test.c"
diff --git a/homebrew/httpparser/_metadata/description b/homebrew/httpparser/_metadata/description
new file mode 100644
index 000000000..2cccfa849
--- /dev/null
+++ b/homebrew/httpparser/_metadata/description
@@ -0,0 +1 @@
+HTTP request/response parser for c
diff --git a/homebrew/httpparser/_metadata/homepage b/homebrew/httpparser/_metadata/homepage
new file mode 100644
index 000000000..c11d88083
--- /dev/null
+++ b/homebrew/httpparser/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/nodejs/http-parser
diff --git a/homebrew/httpparser/_metadata/name b/homebrew/httpparser/_metadata/name
new file mode 100644
index 000000000..fecefc69b
--- /dev/null
+++ b/homebrew/httpparser/_metadata/name
@@ -0,0 +1 @@
+HttpParser
diff --git a/homebrew/httpparser/_metadata/version b/homebrew/httpparser/_metadata/version
new file mode 100644
index 000000000..5d9ade10c
--- /dev/null
+++ b/homebrew/httpparser/_metadata/version
@@ -0,0 +1 @@
+2.9.2
diff --git a/homebrew/httpparser/download.sh b/homebrew/httpparser/download.sh
new file mode 100755
index 000000000..47936fa9a
--- /dev/null
+++ b/homebrew/httpparser/download.sh
@@ -0,0 +1 @@
+wget https://github.com/nodejs/http-parser/archive/v2.9.2.tar.gz \ No newline at end of file