From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Markus Pargmann Date: Thu, 8 May 2014 10:00:38 +0200 Message-Id: <1399536038-23355-9-git-send-email-mpa@pengutronix.de> In-Reply-To: <1399536038-23355-1-git-send-email-mpa@pengutronix.de> References: <1399536038-23355-1-git-send-email-mpa@pengutronix.de> Subject: [ptxdist] [PATCH v2 8/8] libjpeg: version bump 8a -> 9a, add binaries Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Markus Pargmann cjpeg and djpeg are simple programs that use libjpeg to compress/decompress jpeg images. Signed-off-by: Markus Pargmann --- rules/libjpeg.in | 15 +++++++++++++-- rules/libjpeg.make | 8 ++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/rules/libjpeg.in b/rules/libjpeg.in index 30cea58..e9f1b66 100644 --- a/rules/libjpeg.in +++ b/rules/libjpeg.in @@ -1,7 +1,18 @@ ## SECTION=system_libraries -config LIBJPEG +menuconfig LIBJPEG tristate - prompt "libjpeg" + prompt "libjpeg " help libjpeg is a library for handling the JPEG (JFIF) image format. + +if LIBJPEG + +config LIBJPEG_BIN + bool + prompt "Install libjpeg binaries cjpeg and djpeg" + help + cjpeg and djpeg are simple bineries to convert some basic image + formats to jpeg (cjpeg) or convert them back from jpeg (djpeg) + +endif diff --git a/rules/libjpeg.make b/rules/libjpeg.make index c86d408..3ca715e 100644 --- a/rules/libjpeg.make +++ b/rules/libjpeg.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBJPEG) += libjpeg # # Paths and names # -LIBJPEG_VERSION := 8a -LIBJPEG_MD5 := 5146e68be3633c597b0d14d3ed8fa2ea +LIBJPEG_VERSION := 9a +LIBJPEG_MD5 := 3353992aecaee1805ef4109aadd433e7 LIBJPEG_SUFFIX := tar.gz LIBJPEG := jpeg-$(LIBJPEG_VERSION) LIBJPEG_TARBALL := jpegsrc.v$(LIBJPEG_VERSION).$(LIBJPEG_SUFFIX) @@ -47,6 +47,10 @@ $(STATEDIR)/libjpeg.targetinstall: @$(call install_fixup, libjpeg,DESCRIPTION,missing) @$(call install_lib, libjpeg, 0, 0, 0644, libjpeg) +ifdef PTXCONF_LIBJPEG_BIN + @$(call install_copy, libjpeg, 0, 0, 0755, -, /usr/bin/cjpeg) + @$(call install_copy, libjpeg, 0, 0, 0755, -, /usr/bin/djpeg) +endif @$(call install_finish, libjpeg) -- 2.0.0.rc0 -- ptxdist mailing list ptxdist@pengutronix.de