mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 20:49:48 -05:00
This is a minor release addressing:
* #241, crash in ST_LineCrossingDirection
* #210, segmentation faults in ST_Union with NULLs
* #277, crash on very large numeric inputs
* #179, ST_MakeLine crash server with NULLs
* #253, inconsistent results when using the ~= operator
* #276, ST_AsGML producing non-compliant GML
* #239, memory issues with ST_As* functions
* #272, ST_LineCrossingDirection should be negatively symmetric
* #316, parsing problem for invalid higher dimensional geometries
23 lines
809 B
Ruby
23 lines
809 B
Ruby
require 'formula'
|
|
|
|
class Postgis <Formula
|
|
url 'http://postgis.refractions.net/download/postgis-1.4.1.tar.gz'
|
|
homepage 'http://postgis.refractions.net/'
|
|
md5 '78d13c4294f3336502ad35c8a30e5583'
|
|
|
|
depends_on 'postgresql'
|
|
depends_on 'proj'
|
|
depends_on 'geos'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
system "make install"
|
|
|
|
# Copy some of the generated files to the share folder
|
|
(share+'postgis').install %w( spatial_ref_sys.sql postgis/postgis.sql postgis/postgis_upgrade.sql postgis/uninstall_postgis.sql )
|
|
# Copy loader and utils binaries to bin folder
|
|
bin.install %w( loader/pgsql2shp loader/shp2pgsql utils/new_postgis_restore.pl utils/postgis_proc_upgrade.pl utils/postgis_restore.pl utils/profile_intersects.pl )
|
|
|
|
end
|
|
end
|