kumquat-buildroot/package/libjpeg/libjpeg.mk
Danomi Manchego 0e27be34c3 libjpeg: fix "jpegtran" spelling in target-install hook
Use correct bin name so that LIBJPEG_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-11 08:04:34 +01:00

20 lines
577 B
Makefile

################################################################################
#
# libjpeg
#
################################################################################
LIBJPEG_VERSION = 8d
LIBJPEG_SITE = http://www.ijg.org/files/
LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
LIBJPEG_INSTALL_STAGING = YES
define LIBJPEG_REMOVE_USELESS_TOOLS
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom wrjpgcom)
endef
LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS
$(eval $(autotools-package))
$(eval $(host-autotools-package))