[vlmc-devel] contribs: Add libjpegturbo

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 2 01:00:25 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jul 20 13:40:34 2016 +0200| [8fca468fd6005ded163db6176d877df0ef9c9f89] | committer: Hugo Beauzée-Luyssen

contribs: Add libjpegturbo

> https://code.videolan.org/videolan/vlmc/commit/8fca468fd6005ded163db6176d877df0ef9c9f89
---

 contribs/src/jpegturbo/SHA512SUMS |  2 ++
 contribs/src/jpegturbo/rules.mak  | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/contribs/src/jpegturbo/SHA512SUMS b/contribs/src/jpegturbo/SHA512SUMS
new file mode 100644
index 0000000..2025b64
--- /dev/null
+++ b/contribs/src/jpegturbo/SHA512SUMS
@@ -0,0 +1,2 @@
+3b7249a5f5c7b1f1fa99924ac6bc9bff3bf811815ef38505af5359d1f0edb0bfb771f0fa54308743a2d9305cb19a997453fdb00d0aade3f2f17ea917a45fde22  libjpeg-turbo-1.5.0.tar.gz
+
diff --git a/contribs/src/jpegturbo/rules.mak b/contribs/src/jpegturbo/rules.mak
new file mode 100644
index 0000000..da6dfd6
--- /dev/null
+++ b/contribs/src/jpegturbo/rules.mak
@@ -0,0 +1,19 @@
+# jpeg
+
+JPEGTURBO_VERSION := 1.5.0
+JPEGTURBO_URL := http://downloads.sourceforge.net/project/libjpeg-turbo/$(JPEGTURBO_VERSION)/libjpeg-turbo-$(JPEGTURBO_VERSION).tar.gz
+
+$(TARBALLS)/libjpeg-turbo-$(JPEGTURBO_VERSION).tar.gz:
+	$(call download_pkg,$(JPEGTURBO_URL),jpegturbo)
+
+.sum-jpegturbo: libjpeg-turbo-$(JPEGTURBO_VERSION).tar.gz
+
+jpegturbo: libjpeg-turbo-$(JPEGTURBO_VERSION).tar.gz .sum-jpegturbo
+	$(UNPACK)
+	$(UPDATE_AUTOCONFIG)
+	$(MOVE)
+
+.jpegturbo: jpegturbo
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the Vlmc-devel mailing list