9f59b378a3
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# jpeg-turbo
|
|
#
|
|
################################################################################
|
|
|
|
JPEG_TURBO_VERSION = 1.5.1
|
|
JPEG_TURBO_SOURCE = libjpeg-turbo-$(JPEG_TURBO_VERSION).tar.gz
|
|
JPEG_TURBO_SITE = http://downloads.sourceforge.net/project/libjpeg-turbo/$(JPEG_TURBO_VERSION)
|
|
JPEG_TURBO_LICENSE = jpeg-license (BSD-3-Clause-like)
|
|
JPEG_TURBO_LICENSE_FILES = LICENSE.md
|
|
JPEG_TURBO_INSTALL_STAGING = YES
|
|
JPEG_TURBO_PROVIDES = jpeg
|
|
JPEG_TURBO_DEPENDENCIES = host-pkgconf
|
|
|
|
JPEG_TURBO_CONF_OPTS = --with-jpeg8
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG_SIMD_SUPPORT),y)
|
|
JPEG_TURBO_CONF_OPTS += --with-simd
|
|
# x86 simd support needs nasm
|
|
JPEG_TURBO_DEPENDENCIES += $(if $(BR2_X86_CPU_HAS_MMX),host-nasm)
|
|
else
|
|
JPEG_TURBO_CONF_OPTS += --without-simd
|
|
endif
|
|
|
|
define JPEG_TURBO_REMOVE_USELESS_TOOLS
|
|
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom tjbench wrjpgcom)
|
|
endef
|
|
|
|
JPEG_TURBO_POST_INSTALL_TARGET_HOOKS += JPEG_TURBO_REMOVE_USELESS_TOOLS
|
|
|
|
$(eval $(autotools-package))
|