mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
mapnik 2.0.0
Closes #7847. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
23a0f89481
commit
eb960d8e2a
1 file changed
+3
-7
@@ -1,9 +1,10 @@
|
||||
require 'formula'
|
||||
|
||||
class Mapnik < Formula
|
||||
url 'http://download.berlios.de/mapnik/mapnik-0.7.1.tar.gz'
|
||||
url 'http://download.berlios.de/mapnik/mapnik-2.0.0.tar.gz'
|
||||
homepage 'http://www.mapnik.org/'
|
||||
md5 '3a070fdd7c6a3367ad78d95c2387b03b'
|
||||
md5 '3b0dacbf98f24dbcf113c6f4b1d7f0c8'
|
||||
head 'http://svn.mapnik.org/trunk', :using => :svn
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'scons' => :build
|
||||
@@ -17,11 +18,6 @@ class Mapnik < Formula
|
||||
def install
|
||||
ENV.x11 # for freetype-config
|
||||
|
||||
# Allow compilation against boost 1.46
|
||||
inreplace ["src/datasource_cache.cpp", "src/libxml2_loader.cpp", "src/load_map.cpp", "src/tiff_reader.cpp"],
|
||||
"#include <boost/filesystem/operations.hpp>",
|
||||
"#define BOOST_FILESYSTEM_VERSION 2\n#include <boost/filesystem/operations.hpp>"
|
||||
|
||||
icu = Formula.factory("icu4c")
|
||||
system "scons",
|
||||
"PREFIX=#{prefix}",
|
||||
|
||||
Reference in new issue
Block a user