Mercurial > mxe-octave
view src/libgeotiff.mk @ 2765:851daf6da276
package qt: update patches
-added security related openssl patch
-use upstream versions of pkg-config patches
-simplify recent mac patch
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Thu, 20 Sep 2012 10:30:12 +0200 |
parents | 4d0f3a9da57e |
children | 47558e958113 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libgeotiff $(PKG)_IGNORE := $(PKG)_CHECKSUM := 4c6f405869826bb7d9f35f1d69167e3b44a57ef0 $(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 := gcc 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)' && ./configure \ --host='$(TARGET)' \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ LIBS="`'$(TARGET)-pkg-config' --libs libtiff-4` -ljpeg -lz" $(MAKE) -C '$(1)' -j 1 all install EXEEXT=.remove-me MAKE='$(MAKE)' rm -fv '$(PREFIX)/$(TARGET)'/bin/*.remove-me endef