Mercurial > mxe-octave
view src/proj.mk @ 7186:19a46de50b18 default tip @
* src/jasper.mk: update to v4.2.4
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 02 May 2024 09:22:30 -0400 |
parents | 49aef0daf62e |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := proj $(PKG)_IGNORE := $(PKG)_VERSION := 9.4.0 $(PKG)_CHECKSUM := c79f424182b344555ee9cddf414a6e70523f1dd7 $(PKG)_SUBDIR := proj-$($(PKG)_VERSION) $(PKG)_FILE := proj-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://download.osgeo.org/proj/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.remotesensing.org/proj/$($(PKG)_FILE) $(PKG)_DEPS := curl sqlite tiff $(PKG)_CMAKE_FLAGS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://proj.org/download.html' | \ $(SED) -n 's,.*proj-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && cmake \ $($(PKG)_CMAKE_FLAGS) \ -DBUILD_TESTING=no \ $(CMAKE_CCACHE_FLAGS) \ $(CMAKE_BUILD_SHARED_OR_STATIC) \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ . $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install endef