comparison src/libgeotiff.mk @ 6238:e023f9b4d61c

* src/libgeotiff.mk: update to v1.7.1, use github for update rule
author John Donoghue <john.donoghue@ieee.org>
date Fri, 27 May 2022 14:24:33 -0400
parents 6bfbb9142336
children 4b8764444acb
comparison
equal deleted inserted replaced
6237:97ad836259c3 6238:e023f9b4d61c
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 := libgeotiff 4 PKG := libgeotiff
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_VERSION := 1.6.0 6 $(PKG)_VERSION := 1.7.1
7 $(PKG)_CHECKSUM := fa24069938ead4126d77b65a38784e1a9609e65b 7 $(PKG)_CHECKSUM := 75b2bdc9478b9e8b3c684b9ad0e9b154e75bd843
8 $(PKG)_SUBDIR := libgeotiff-$($(PKG)_VERSION) 8 $(PKG)_SUBDIR := libgeotiff-$($(PKG)_VERSION)
9 $(PKG)_FILE := libgeotiff-$($(PKG)_VERSION).tar.gz 9 $(PKG)_FILE := libgeotiff-$($(PKG)_VERSION).tar.gz
10 $(PKG)_URL := http://download.osgeo.org/geotiff/libgeotiff/$($(PKG)_FILE) 10 $(PKG)_URL := http://download.osgeo.org/geotiff/libgeotiff/$($(PKG)_FILE)
11 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/geotiff/libgeotiff/$($(PKG)_FILE) 11 $(PKG)_URL_2 := ftp://ftp.remotesensing.org/geotiff/libgeotiff/$($(PKG)_FILE)
12 $(PKG)_DEPS := zlib jpeg tiff proj 12 $(PKG)_DEPS := zlib jpeg tiff proj
13 13
14 define $(PKG)_UPDATE 14 define $(PKG)_UPDATE
15 $(WGET) -q -O- 'http://trac.osgeo.org/geotiff/' | \ 15 $(WGET) -q -O- 'https://github.com/OSGeo/libgeotiff/tags' | \
16 $(SED) -n 's,.*libgeotiff-\([0-9][^>]*\)\.tar.*,\1,p' | \ 16 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | \
17 head -1 17 head -1
18 endef 18 endef
19 19
20 define $(PKG)_BUILD 20 define $(PKG)_BUILD
21 $(SED) -i 's,/usr/local,@prefix@,' '$(1)/bin/Makefile.in' 21 $(SED) -i 's,/usr/local,@prefix@,' '$(1)/bin/Makefile.in'