Mercurial > mxe-octave
view src/libgeotiff.mk @ 5650:6805ab42c8aa
Don't convert to short paths for default-octave target (bug #59923).
* installer-files/octave-no-shortpath.patch,
installer-files/octave-bat-no-shortpath.patch,
installer-files/cmdshell-no-shortpath.patch: Add patches that remove
conversion of path to short file names from scripts.
* binary-dist-rules.mk: Apply new patches for default-octave target.
* dist-files.mk: Add new files to build system.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 31 Jan 2021 18:38:38 +0100 |
parents | 6bfbb9142336 |
children | e023f9b4d61c |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libgeotiff $(PKG)_IGNORE := $(PKG)_VERSION := 1.6.0 $(PKG)_CHECKSUM := fa24069938ead4126d77b65a38784e1a9609e65b $(PKG)_SUBDIR := libgeotiff-$($(PKG)_VERSION) $(PKG)_FILE := libgeotiff-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://download.osgeo.org/geotiff/libgeotiff/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.remotesensing.org/geotiff/libgeotiff/$($(PKG)_FILE) $(PKG)_DEPS := zlib jpeg tiff proj define $(PKG)_UPDATE $(WGET) -q -O- 'http://trac.osgeo.org/geotiff/' | \ $(SED) -n 's,.*libgeotiff-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD $(SED) -i 's,/usr/local,@prefix@,' '$(1)/bin/Makefile.in' touch '$(1)/configure' cd '$(1)' && autoreconf -fi cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --with-zlib=$(HOST_PREFIX) \ --with-jpeg=$(HOST_PREFIX) \ --with-libtiff=$(HOST_PREFIX) \ --with-proj=$(HOST_PREFIX) $(MAKE) -C '$(1)' -j $(JOBS) $(MAKE) -C '$(1)' -j 1 install endef