summaryrefslogtreecommitdiff
path: root/homebrew/osmpbf
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/osmpbf')
-rw-r--r--homebrew/osmpbf/.beer24
-rw-r--r--homebrew/osmpbf/.make.sh-auto5
-rw-r--r--homebrew/osmpbf/_metadata/description1
-rw-r--r--homebrew/osmpbf/_metadata/homepage1
-rw-r--r--homebrew/osmpbf/_metadata/name1
-rw-r--r--homebrew/osmpbf/_metadata/version1
-rwxr-xr-xhomebrew/osmpbf/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/osmpbf/.beer b/homebrew/osmpbf/.beer
new file mode 100644
index 000000000..37b543d49
--- /dev/null
+++ b/homebrew/osmpbf/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "OsmPbf",
+ "description": "Tools related to PBF (an alternative to XML format)",
+ "url": "https://github.com/scrosby/OSM-binary/archive/v1.3.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://wiki.openstreetmap.org/wiki/PBF_Format",
+ "depends": [
+ {
+ "depend": "protobuf",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "cd \"src\" do",
+ "system \"make\"",
+ "lib.install \"libosmpbf.a\""
+ ],
+ "version": "1.3.3",
+ "file": "osm-pbf.rb"
+} \ No newline at end of file
diff --git a/homebrew/osmpbf/.make.sh-auto b/homebrew/osmpbf/.make.sh-auto
new file mode 100644
index 000000000..2c579d221
--- /dev/null
+++ b/homebrew/osmpbf/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.cxx11
+cd "src"
+make
+lib.install "libosmpbf.a"
diff --git a/homebrew/osmpbf/_metadata/description b/homebrew/osmpbf/_metadata/description
new file mode 100644
index 000000000..bafe570b2
--- /dev/null
+++ b/homebrew/osmpbf/_metadata/description
@@ -0,0 +1 @@
+Tools related to PBF (an alternative to XML format)
diff --git a/homebrew/osmpbf/_metadata/homepage b/homebrew/osmpbf/_metadata/homepage
new file mode 100644
index 000000000..08809180a
--- /dev/null
+++ b/homebrew/osmpbf/_metadata/homepage
@@ -0,0 +1 @@
+https://wiki.openstreetmap.org/wiki/PBF_Format
diff --git a/homebrew/osmpbf/_metadata/name b/homebrew/osmpbf/_metadata/name
new file mode 100644
index 000000000..c53528c9a
--- /dev/null
+++ b/homebrew/osmpbf/_metadata/name
@@ -0,0 +1 @@
+OsmPbf
diff --git a/homebrew/osmpbf/_metadata/version b/homebrew/osmpbf/_metadata/version
new file mode 100644
index 000000000..31e5c8434
--- /dev/null
+++ b/homebrew/osmpbf/_metadata/version
@@ -0,0 +1 @@
+1.3.3
diff --git a/homebrew/osmpbf/download.sh b/homebrew/osmpbf/download.sh
new file mode 100755
index 000000000..fd17388aa
--- /dev/null
+++ b/homebrew/osmpbf/download.sh
@@ -0,0 +1 @@
+wget https://github.com/scrosby/OSM-binary/archive/v1.3.3.tar.gz \ No newline at end of file