summaryrefslogtreecommitdiff
path: root/homebrew/osrmbackend
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/osrmbackend')
-rw-r--r--homebrew/osrmbackend/.beer52
-rw-r--r--homebrew/osrmbackend/.make.sh-auto5
-rw-r--r--homebrew/osrmbackend/_metadata/description1
-rw-r--r--homebrew/osrmbackend/_metadata/homepage1
-rw-r--r--homebrew/osrmbackend/_metadata/name1
-rw-r--r--homebrew/osrmbackend/_metadata/version1
-rwxr-xr-xhomebrew/osrmbackend/download.sh1
7 files changed, 62 insertions, 0 deletions
diff --git a/homebrew/osrmbackend/.beer b/homebrew/osrmbackend/.beer
new file mode 100644
index 000000000..407856abb
--- /dev/null
+++ b/homebrew/osrmbackend/.beer
@@ -0,0 +1,52 @@
+{
+ "name": "OsrmBackend",
+ "description": "High performance routing engine",
+ "url": "https://github.com/Project-OSRM/osrm-backend/archive/v5.22.0.tar.gz",
+ "mirror": null,
+ "homepage": "http://project-osrm.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "libstxxl",
+ "build-depend": false
+ },
+ {
+ "depend": "libxml2",
+ "build-depend": false
+ },
+ {
+ "depend": "libzip",
+ "build-depend": false
+ },
+ {
+ "depend": "lua",
+ "build-depend": false
+ },
+ {
+ "depend": "macos",
+ "build-depend": false
+ },
+ {
+ "depend": "tbb",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", \"-DENABLE_CCACHE:BOOL=OFF\", *std_cmake_args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "5.22.0",
+ "file": "osrm-backend.rb"
+} \ No newline at end of file
diff --git a/homebrew/osrmbackend/.make.sh-auto b/homebrew/osrmbackend/.make.sh-auto
new file mode 100644
index 000000000..88d5a4272
--- /dev/null
+++ b/homebrew/osrmbackend/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -DENABLE_CCACHE:BOOL=OFF -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/osrmbackend/_metadata/description b/homebrew/osrmbackend/_metadata/description
new file mode 100644
index 000000000..d8e8394ae
--- /dev/null
+++ b/homebrew/osrmbackend/_metadata/description
@@ -0,0 +1 @@
+High performance routing engine
diff --git a/homebrew/osrmbackend/_metadata/homepage b/homebrew/osrmbackend/_metadata/homepage
new file mode 100644
index 000000000..635fb4afd
--- /dev/null
+++ b/homebrew/osrmbackend/_metadata/homepage
@@ -0,0 +1 @@
+http://project-osrm.org/
diff --git a/homebrew/osrmbackend/_metadata/name b/homebrew/osrmbackend/_metadata/name
new file mode 100644
index 000000000..5ad37943a
--- /dev/null
+++ b/homebrew/osrmbackend/_metadata/name
@@ -0,0 +1 @@
+OsrmBackend
diff --git a/homebrew/osrmbackend/_metadata/version b/homebrew/osrmbackend/_metadata/version
new file mode 100644
index 000000000..0eced473d
--- /dev/null
+++ b/homebrew/osrmbackend/_metadata/version
@@ -0,0 +1 @@
+5.22.0
diff --git a/homebrew/osrmbackend/download.sh b/homebrew/osrmbackend/download.sh
new file mode 100755
index 000000000..750120ea5
--- /dev/null
+++ b/homebrew/osrmbackend/download.sh
@@ -0,0 +1 @@
+wget https://github.com/Project-OSRM/osrm-backend/archive/v5.22.0.tar.gz \ No newline at end of file