diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 20:06:56 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 20:06:56 (GMT) |
commit | 707caa4e1d2054d424111acb904b99936c5ef31a (patch) | |
tree | 8f9bd5011e0321283342c9aebaf86e1824762d21 | |
parent | 56ed9c8a75cdd2aa245efc29b4ecb9fbc1cacb67 (diff) | |
download | mxe-707caa4e1d2054d424111acb904b99936c5ef31a.zip mxe-707caa4e1d2054d424111acb904b99936c5ef31a.tar.gz mxe-707caa4e1d2054d424111acb904b99936c5ef31a.tar.bz2 |
translated package: tiff
-rw-r--r-- | src/tiff.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/tiff.mk b/src/tiff.mk new file mode 100644 index 0000000..bb88381 --- /dev/null +++ b/src/tiff.mk @@ -0,0 +1,26 @@ +# LibTIFF +# http://www.remotesensing.org/libtiff/ + +PKG := tiff +$(PKG)_VERSION := 3.8.2 +$(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) +$(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := ftp://ftp.remotesensing.org/pub/libtiff/$($(PKG)_FILE) +$(PKG)_URL_2 := http://dl.maptools.org/dl/libtiff/$($(PKG)_FILE) +$(PKG)_DEPS := gcc pthreads 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)' \ + PTHREAD_LIBS='-lpthread -lws2_32' \ + --without-x + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |