[vlc-commits] Contrib: add jpeg

Jean-Baptiste Kempf git at videolan.org
Tue Jul 5 00:05:50 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jul  5 00:05:17 2011 +0200| [035e0d752937ba729ac1cfaa8ef21b941019a15d] | committer: Jean-Baptiste Kempf

Contrib: add jpeg

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=035e0d752937ba729ac1cfaa8ef21b941019a15d
---

 contrib/src/jpeg/SHA512SUMS |    1 +
 contrib/src/jpeg/rules.mak  |   22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/contrib/src/jpeg/SHA512SUMS b/contrib/src/jpeg/SHA512SUMS
new file mode 100644
index 0000000..1b8ebeb
--- /dev/null
+++ b/contrib/src/jpeg/SHA512SUMS
@@ -0,0 +1 @@
+9a8de546c1d0746a09f33cc71e7a3e6c584fdd55efb76b2e1fdebf7b649bcc0dde2bff32be5ceb19d7b57ca3fb0f84902d2fd76d5e9f43a1cc4c04777d061a24  jpegsrc.v8c.tar.gz
diff --git a/contrib/src/jpeg/rules.mak b/contrib/src/jpeg/rules.mak
new file mode 100644
index 0000000..824699b
--- /dev/null
+++ b/contrib/src/jpeg/rules.mak
@@ -0,0 +1,22 @@
+# jpeg
+
+JPEG_VERSION := 8c
+JPEG_URL := http://www.ijg.org/files/jpegsrc.v$(JPEG_VERSION).tar.gz
+
+PKGS += jpeg
+
+$(TARBALLS)/jpegsrc.v$(JPEG_VERSION).tar.gz:
+	$(call download,$(JPEG_URL))
+
+.sum-jpeg: jpegsrc.v$(JPEG_VERSION).tar.gz
+
+jpeg: jpegsrc.v$(JPEG_VERSION).tar.gz .sum-jpeg
+	$(UNPACK)
+	mv jpeg-$(JPEG_VERSION) jpegsrc.v$(JPEG_VERSION)
+	$(MOVE)
+
+.jpeg: jpeg
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	cd $< && $(RANLIB) $(PREFIX)/lib/libjpeg.a
+	touch $@



More information about the vlc-commits mailing list