37 lines · 1.3 KB · Text
RawDownload
# This file is part of MXE. See LICENSE.md for licensing information. PKG             := geos$(PKG)_WEBSITE  := https://trac.osgeo.org/geos/$(PKG)_DESCR    := GEOS$(PKG)_IGNORE   :=$(PKG)_VERSION  := 3.9.5$(PKG)_CHECKSUM := c6c9aedfa8864fb44ba78911408442382bfd0690cf2d4091ae3805c863789036$(PKG)_SUBDIR   := geos-$($(PKG)_VERSION)$(PKG)_FILE     := geos-$($(PKG)_VERSION).tar.bz2$(PKG)_URL      := https://download.osgeo.org/geos/$($(PKG)_FILE)$(PKG)_DEPS     := cc define $(PKG)_UPDATE    $(WGET) -q -O- 'https://download.osgeo.org/geos/' | \    $(SED) -n 's,.*geos-\([0-9][^>]*\)\.tar.*,\1,p' | \    tail -1endef define $(PKG)_BUILD    # build and install the library    cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \        -DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) \        -DBUILD_BENCHMARKS=OFF \        -DBUILD_TESTING=OFF \        -DGEOS_BUILD_DEVELOPER=OFF \        -DDISABLE_GEOS_INLINE=ON    $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'    $(MAKE) -C '$(BUILD_DIR)' -j 1 install     ln -sf '$(PREFIX)/$(TARGET)/bin/geos-config' '$(PREFIX)/bin/$(TARGET)-geos-config'     '$(TARGET)-g++' \        -W -Wall -Werror -ansi -pedantic \        '$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-geos.exe' \        `'$(PREFIX)/bin/$(TARGET)-geos-config' --cflags --static-clibs`endef

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t