Commit 035e0d75 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib: add jpeg

parent 642bfa6e
9a8de546c1d0746a09f33cc71e7a3e6c584fdd55efb76b2e1fdebf7b649bcc0dde2bff32be5ceb19d7b57ca3fb0f84902d2fd76d5e9f43a1cc4c04777d061a24 jpegsrc.v8c.tar.gz
# 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 $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment