summaryrefslogtreecommitdiff
path: root/homebrew/shapelib
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/shapelib')
-rw-r--r--homebrew/shapelib/.beer22
-rw-r--r--homebrew/shapelib/.make.sh-auto3
-rw-r--r--homebrew/shapelib/_metadata/description1
-rw-r--r--homebrew/shapelib/_metadata/homepage1
-rw-r--r--homebrew/shapelib/_metadata/name1
-rw-r--r--homebrew/shapelib/_metadata/version1
-rwxr-xr-xhomebrew/shapelib/download.sh1
7 files changed, 30 insertions, 0 deletions
diff --git a/homebrew/shapelib/.beer b/homebrew/shapelib/.beer
new file mode 100644
index 000000000..9376ab073
--- /dev/null
+++ b/homebrew/shapelib/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "Shapelib",
+ "description": "Library for reading and writing ArcView Shapefiles",
+ "url": "https://download.osgeo.org/shapelib/shapelib-1.5.0.tar.gz",
+ "mirror": null,
+ "homepage": "http://shapelib.maptools.org/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.5.0",
+ "file": "shapelib.rb"
+} \ No newline at end of file
diff --git a/homebrew/shapelib/.make.sh-auto b/homebrew/shapelib/.make.sh-auto
new file mode 100644
index 000000000..a78dc3bb2
--- /dev/null
+++ b/homebrew/shapelib/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/shapelib/_metadata/description b/homebrew/shapelib/_metadata/description
new file mode 100644
index 000000000..241a28c90
--- /dev/null
+++ b/homebrew/shapelib/_metadata/description
@@ -0,0 +1 @@
+Library for reading and writing ArcView Shapefiles
diff --git a/homebrew/shapelib/_metadata/homepage b/homebrew/shapelib/_metadata/homepage
new file mode 100644
index 000000000..b397611d8
--- /dev/null
+++ b/homebrew/shapelib/_metadata/homepage
@@ -0,0 +1 @@
+http://shapelib.maptools.org/
diff --git a/homebrew/shapelib/_metadata/name b/homebrew/shapelib/_metadata/name
new file mode 100644
index 000000000..844cd0165
--- /dev/null
+++ b/homebrew/shapelib/_metadata/name
@@ -0,0 +1 @@
+Shapelib
diff --git a/homebrew/shapelib/_metadata/version b/homebrew/shapelib/_metadata/version
new file mode 100644
index 000000000..bc80560fa
--- /dev/null
+++ b/homebrew/shapelib/_metadata/version
@@ -0,0 +1 @@
+1.5.0
diff --git a/homebrew/shapelib/download.sh b/homebrew/shapelib/download.sh
new file mode 100755
index 000000000..550d60042
--- /dev/null
+++ b/homebrew/shapelib/download.sh
@@ -0,0 +1 @@
+wget https://download.osgeo.org/shapelib/shapelib-1.5.0.tar.gz \ No newline at end of file