summaryrefslogtreecommitdiff
path: root/homebrew/r3
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/r3
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/r3')
-rw-r--r--homebrew/r3/.beer47
-rw-r--r--homebrew/r3/.make.sh-auto4
-rw-r--r--homebrew/r3/_metadata/description1
-rw-r--r--homebrew/r3/_metadata/homepage1
-rw-r--r--homebrew/r3/_metadata/name1
-rw-r--r--homebrew/r3/_metadata/version1
-rwxr-xr-xhomebrew/r3/download.sh1
7 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/r3/.beer b/homebrew/r3/.beer
new file mode 100644
index 000000000..ecebd41f0
--- /dev/null
+++ b/homebrew/r3/.beer
@@ -0,0 +1,47 @@
+{
+ "name": "R3",
+ "description": "High-performance URL router library",
+ "url": "https://github.com/c9s/r3/archive/1.3.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/c9s/r3",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "jemalloc",
+ "build-depend": false
+ },
+ {
+ "depend": "pcre",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./autogen.sh\"",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-malloc=jemalloc\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.3.4",
+ "file": "r3.rb"
+} \ No newline at end of file
diff --git a/homebrew/r3/.make.sh-auto b/homebrew/r3/.make.sh-auto
new file mode 100644
index 000000000..a4f912fe3
--- /dev/null
+++ b/homebrew/r3/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+./autogen.sh
+pkg:configure --disable-dependency-tracking --disable-silent-rules --with-malloc=jemalloc
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/r3/_metadata/description b/homebrew/r3/_metadata/description
new file mode 100644
index 000000000..5e8e0394a
--- /dev/null
+++ b/homebrew/r3/_metadata/description
@@ -0,0 +1 @@
+High-performance URL router library
diff --git a/homebrew/r3/_metadata/homepage b/homebrew/r3/_metadata/homepage
new file mode 100644
index 000000000..84036e056
--- /dev/null
+++ b/homebrew/r3/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/c9s/r3
diff --git a/homebrew/r3/_metadata/name b/homebrew/r3/_metadata/name
new file mode 100644
index 000000000..a773565a5
--- /dev/null
+++ b/homebrew/r3/_metadata/name
@@ -0,0 +1 @@
+R3
diff --git a/homebrew/r3/_metadata/version b/homebrew/r3/_metadata/version
new file mode 100644
index 000000000..d0149fef7
--- /dev/null
+++ b/homebrew/r3/_metadata/version
@@ -0,0 +1 @@
+1.3.4
diff --git a/homebrew/r3/download.sh b/homebrew/r3/download.sh
new file mode 100755
index 000000000..1d47c25f4
--- /dev/null
+++ b/homebrew/r3/download.sh
@@ -0,0 +1 @@
+wget https://github.com/c9s/r3/archive/1.3.4.tar.gz \ No newline at end of file