]> git.sesse.net Git - vlc/commitdiff
Contribs: add tiff
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 4 Jul 2011 21:54:21 +0000 (23:54 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 4 Jul 2011 21:54:21 +0000 (23:54 +0200)
contrib/src/tiff/SHA512SUMS [new file with mode: 0644]
contrib/src/tiff/rules.mak [new file with mode: 0644]

diff --git a/contrib/src/tiff/SHA512SUMS b/contrib/src/tiff/SHA512SUMS
new file mode 100644 (file)
index 0000000..03b8438
--- /dev/null
@@ -0,0 +1 @@
+814d5b2b488c8332ab1e17095004d42d44717a530ab2675740ef4256050971fb5feb35f804001e1bc5081f4a02c38922555fdc4c947b041876c96a32385da094  tiff-3.9.5.tar.gz
diff --git a/contrib/src/tiff/rules.mak b/contrib/src/tiff/rules.mak
new file mode 100644 (file)
index 0000000..362d9f0
--- /dev/null
@@ -0,0 +1,21 @@
+# tiff
+
+TIFF_VERSION := 3.9.5
+TIFF_URL := ftp://ftp.remotesensing.org/libtiff/tiff-$(TIFF_VERSION).tar.gz
+
+PKGS += tiff
+
+$(TARBALLS)/tiff-$(TIFF_VERSION).tar.gz:
+       $(call download,$(TIFF_URL))
+
+.sum-tiff: tiff-$(TIFF_VERSION).tar.gz
+
+tiff: tiff-$(TIFF_VERSION).tar.gz .sum-tiff
+       $(UNPACK)
+       $(MOVE)
+
+.tiff: tiff
+       cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --with-CFLAGS="$(CFLAGS)" --with-JPEG=no --with-ZIP=no
+       cd $< && $(MAKE) -C port && $(MAKE) -C libtiff
+       cd $< && $(MAKE) install
+       touch $@