summaryrefslogtreecommitdiff
path: root/homebrew/librasterlite
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/librasterlite')
-rw-r--r--homebrew/librasterlite/.beer41
-rw-r--r--homebrew/librasterlite/.make.sh-auto5
-rw-r--r--homebrew/librasterlite/_metadata/description1
-rw-r--r--homebrew/librasterlite/_metadata/homepage1
-rw-r--r--homebrew/librasterlite/_metadata/name1
-rw-r--r--homebrew/librasterlite/_metadata/version1
-rwxr-xr-xhomebrew/librasterlite/download.sh1
7 files changed, 51 insertions, 0 deletions
diff --git a/homebrew/librasterlite/.beer b/homebrew/librasterlite/.beer
new file mode 100644
index 000000000..c9634efd6
--- /dev/null
+++ b/homebrew/librasterlite/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "Librasterlite",
+ "description": "Library to store and retrieve huge raster coverages",
+ "url": "https://www.gaia-gis.it/gaia-sins/librasterlite-sources/librasterlite-1.1g.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.gaia-gis.it/fossil/librasterlite/index",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libgeotiff",
+ "build-depend": false
+ },
+ {
+ "depend": "libpng",
+ "build-depend": false
+ },
+ {
+ "depend": "libspatialite",
+ "build-depend": false
+ },
+ {
+ "depend": "sqlite",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "sqlite = Formula[\"sqlite\"]",
+ "ENV.append \"LDFLAGS\", \"-L#{sqlite.opt_lib} -lsqlite3\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.1",
+ "file": "librasterlite.rb"
+} \ No newline at end of file
diff --git a/homebrew/librasterlite/.make.sh-auto b/homebrew/librasterlite/.make.sh-auto
new file mode 100644
index 000000000..8609a2d15
--- /dev/null
+++ b/homebrew/librasterlite/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+sqlite = Formula["sqlite"]
+ENV.append "LDFLAGS", "-L#{sqlite.opt_lib} -lsqlite3"
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/librasterlite/_metadata/description b/homebrew/librasterlite/_metadata/description
new file mode 100644
index 000000000..6f6bb8409
--- /dev/null
+++ b/homebrew/librasterlite/_metadata/description
@@ -0,0 +1 @@
+Library to store and retrieve huge raster coverages
diff --git a/homebrew/librasterlite/_metadata/homepage b/homebrew/librasterlite/_metadata/homepage
new file mode 100644
index 000000000..7b3f94091
--- /dev/null
+++ b/homebrew/librasterlite/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gaia-gis.it/fossil/librasterlite/index
diff --git a/homebrew/librasterlite/_metadata/name b/homebrew/librasterlite/_metadata/name
new file mode 100644
index 000000000..9f43ce802
--- /dev/null
+++ b/homebrew/librasterlite/_metadata/name
@@ -0,0 +1 @@
+Librasterlite
diff --git a/homebrew/librasterlite/_metadata/version b/homebrew/librasterlite/_metadata/version
new file mode 100644
index 000000000..9459d4ba2
--- /dev/null
+++ b/homebrew/librasterlite/_metadata/version
@@ -0,0 +1 @@
+1.1
diff --git a/homebrew/librasterlite/download.sh b/homebrew/librasterlite/download.sh
new file mode 100755
index 000000000..d3f21ab19
--- /dev/null
+++ b/homebrew/librasterlite/download.sh
@@ -0,0 +1 @@
+wget https://www.gaia-gis.it/gaia-sins/librasterlite-sources/librasterlite-1.1g.tar.gz \ No newline at end of file