Updated libspatialite and spatialite-tools
Added version tag and removed the initialization database since libspatialite now supports self initialization. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
9f81868869
commit
bacfadb7d0
2 changed files with 6 additions and 13 deletions
|
@ -1,14 +1,10 @@
|
|||
require 'formula'
|
||||
|
||||
class InitSpatialite <Formula
|
||||
url 'http://www.gaia-gis.it/spatialite-2.4.0/init_spatialite-2.4.sql.zip'
|
||||
md5 '06c740cade77217844c99c25ecc2ac39'
|
||||
end
|
||||
|
||||
class Libspatialite <Formula
|
||||
url 'http://www.gaia-gis.it/spatialite-2.4.0/libspatialite-amalgamation-2.4.0.tar.gz'
|
||||
url 'http://www.gaia-gis.it/spatialite-2.4.0-3/libspatialite-amalgamation-2.4.0.tar.gz'
|
||||
version '2.4.0-rc3a'
|
||||
homepage 'http://www.gaia-gis.it/spatialite/'
|
||||
md5 '9519c71b80037efccde02e046342f239'
|
||||
md5 '19d870bd4e0ec2f095a5703b9ef4eaef'
|
||||
|
||||
depends_on 'proj'
|
||||
depends_on 'geos'
|
||||
|
@ -19,9 +15,5 @@ class Libspatialite <Formula
|
|||
"--prefix=#{prefix}",
|
||||
"--target=macosx"
|
||||
system "make install"
|
||||
|
||||
InitSpatialite.new.brew do
|
||||
(share+'spatialite').install 'init_spatialite-2.4.sql'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
require 'formula'
|
||||
|
||||
class SpatialiteTools <Formula
|
||||
url 'http://www.gaia-gis.it/spatialite-2.4.0/spatialite-tools-2.4.0.tar.gz'
|
||||
url 'http://www.gaia-gis.it/spatialite-2.4.0-3/spatialite-tools-2.4.0.tar.gz'
|
||||
version '2.4.0-rc3a'
|
||||
homepage 'http://www.gaia-gis.it/spatialite/'
|
||||
md5 'ea508c0d7c7a58d4b75fe82ee62d8591'
|
||||
md5 '786b36b431142bfaca2a88bf23f7787c'
|
||||
|
||||
depends_on 'libspatialite'
|
||||
|
||||
|
|
Loading…
Reference in a new issue