sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / libjpeg / libjpeg.mk
blobb8f4bac56e275ac34071289b24fbfe2c6f3cf12a
1 ################################################################################
3 # libjpeg
5 ################################################################################
7 LIBJPEG_VERSION = 9b
8 LIBJPEG_SITE = http://www.ijg.org/files
9 LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
10 LIBJPEG_LICENSE = jpeg-license (BSD-3c-like)
11 LIBJPEG_LICENSE_FILES = README
12 LIBJPEG_INSTALL_STAGING = YES
13 LIBJPEG_PROVIDES = jpeg
15 define LIBJPEG_REMOVE_USELESS_TOOLS
16 rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom wrjpgcom)
17 endef
19 LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS
21 $(eval $(autotools-package))
22 $(eval $(host-autotools-package))