summaryrefslogtreecommitdiff
path: root/homebrew/httpparser
diff options
context:
space:
mode:
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