c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
652 B
Makefile
22 lines
652 B
Makefile
################################################################################
|
|
#
|
|
# libjpeg
|
|
#
|
|
################################################################################
|
|
|
|
LIBJPEG_VERSION = 9a
|
|
LIBJPEG_SITE = http://www.ijg.org/files
|
|
LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
|
|
LIBJPEG_LICENSE = jpeg-license (BSD-3c-like)
|
|
LIBJPEG_LICENSE_FILES = README
|
|
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))
|