blob: 7848d171d5150a1e696917a5b4abb64a6b55f32d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# This file is part of mingw-cross-env.
# See doc/index.html for further information.
# LibTIFF
PKG := tiff
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.9.5
$(PKG)_CHECKSUM := f40aab20fb2f609b5cbc1171c40b66a1445e3773
$(PKG)_SUBDIR := tiff-$($(PKG)_VERSION)
$(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://www.remotesensing.org/libtiff/
$(PKG)_URL := http://download.osgeo.org/libtiff/$($(PKG)_FILE)
$(PKG)_URL_2 := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE)
$(PKG)_DEPS := gcc zlib jpeg
define $(PKG)_UPDATE
wget -q -O- 'http://www.remotesensing.org/libtiff/' | \
$(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--without-x
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
|