Mercurial > mxe-octave
view src/libgeotiff.mk @ 7096:2e51d71933e8
* src/pixman.mk: update to 0.43.4
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 03 Mar 2024 14:53:26 -0500 |
parents | 4b8764444acb |
children | 616ee33668f5 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libgeotiff $(PKG)_IGNORE := $(PKG)_VERSION := 1.7.1 $(PKG)_CHECKSUM := 75b2bdc9478b9e8b3c684b9ad0e9b154e75bd843 $(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 $(call GITHUB_PKG_UPDATE,OSGeo,libgeotiff,) 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