comparison src/geos.mk @ 4984:e08c581e84b0

* src/geos.mk: update to 3.7.1
author John Donoghue
date Thu, 28 Feb 2019 12:47:25 -0500
parents 5353c3cb21bf
children 357c3d489ddd
comparison
equal deleted inserted replaced
4983:57614f233518 4984:e08c581e84b0
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := geos 4 PKG := geos
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 3.6.2 6 $(PKG)_VERSION := 3.7.1
7 $(PKG)_CHECKSUM := b9d0578c6b5308cf05a3dd8873802f9862c04291 7 $(PKG)_CHECKSUM := c06a2e7620b9197c6b9ac456395f4ee4fed9cb86
8 $(PKG)_SUBDIR := geos-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := geos-$($(PKG)_VERSION)
9 $(PKG)_FILE := geos-$($(PKG)_VERSION).tar.bz2 9 $(PKG)_FILE := geos-$($(PKG)_VERSION).tar.bz2
10 $(PKG)_URL := http://download.osgeo.org/geos/$($(PKG)_FILE) 10 $(PKG)_URL := http://download.osgeo.org/geos/$($(PKG)_FILE)
11 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/geos/$($(PKG)_FILE) 11 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/geos/$($(PKG)_FILE)
12 $(PKG)_DEPS := 12 $(PKG)_DEPS :=
20 define $(PKG)_BUILD 20 define $(PKG)_BUILD
21 cd '$(1)' && ./configure \ 21 cd '$(1)' && ./configure \
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ 22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
23 $(ENABLE_SHARED_OR_STATIC) \ 23 $(ENABLE_SHARED_OR_STATIC) \
24 --prefix='$(HOST_PREFIX)' 24 --prefix='$(HOST_PREFIX)'
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 25 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS)
26 26 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)'
27 '$(MXE_CC)' \
28 -W -Wall -Werror -ansi -pedantic \
29 '$(2).c' -o '$(HOST_BINDIR)/test-geos.exe' \
30 -lgeos_c `'$(HOST_BINDIR)/geos-config' --cflags --libs` -lstdc++
31 endef 27 endef