diff options
| author | Charlie Sharpsteen | 2012-09-05 11:23:40 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-09-05 11:23:40 -0700 |
| commit | 22f0097f5bb13ca218c989c26108de5e56c71fd2 (patch) | |
| tree | fa1f6380b26b9747b264853df83cd98dd9f3ea4e /Library/Formula | |
| parent | 879e3b491762882f0ae3ef70db6c292296b62774 (diff) | |
| download | homebrew-22f0097f5bb13ca218c989c26108de5e56c71fd2.tar.bz2 | |
libspatialite: Add --devel build
Now tracking the 4.0 release candidates.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libspatialite.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/libspatialite.rb b/Library/Formula/libspatialite.rb index adcdea17b..9ee46b6b7 100644 --- a/Library/Formula/libspatialite.rb +++ b/Library/Formula/libspatialite.rb @@ -5,7 +5,13 @@ class Libspatialite < Formula url 'http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-3.0.1.tar.gz' sha1 'a88c763302aabc3b74d44a88f969c8475f0c0d10' + devel do + url 'http://www.gaia-gis.it/gaia-sins/libspatialite-4.0.0-RC1.tar.gz' + sha1 'a8fdbf76a4dc8a3388b49156dad99a3a788dc9b9' + end + option 'without-freexl', 'Build without support for reading Excel files' + option 'with-lwgeom', 'Enable additional sanitization/segmentation routines provided by PostGIS 2.0+. (--devel builds only)' depends_on 'proj' depends_on 'geos' @@ -15,6 +21,7 @@ class Libspatialite < Formula depends_on 'sqlite' depends_on 'freexl' unless build.include? 'without-freexl' + depends_on 'postgis' if build.include? 'with-lwgeom' and build.devel? def install # Ensure Homebrew's libsqlite is found before the system version. @@ -26,6 +33,7 @@ class Libspatialite < Formula --with-sysroot=#{HOMEBREW_PREFIX} ] args << '--enable-freexl=no' if build.include? 'without-freexl' + args << '--enable-lwgeom' if build.include? 'with-lwgeom' and build.devel? system './configure', *args system "make install" |
