337aa51f3f
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libfreeimage
|
|
#
|
|
################################################################################
|
|
|
|
LIBFREEIMAGE_VERSION = 3.17.0
|
|
LIBFREEIMAGE_SITE = http://downloads.sourceforge.net/freeimage
|
|
LIBFREEIMAGE_SOURCE = FreeImage$(subst .,,$(LIBFREEIMAGE_VERSION)).zip
|
|
LIBFREEIMAGE_LICENSE = GPL-2.0 or GPL-3.0 or FreeImage Public License
|
|
LIBFREEIMAGE_LICENSE_FILES = license-gplv2.txt license-gplv3.txt license-fi.txt
|
|
LIBFREEIMAGE_INSTALL_STAGING = YES
|
|
|
|
define LIBFREEIMAGE_EXTRACT_CMDS
|
|
$(UNZIP) $(DL_DIR)/$(LIBFREEIMAGE_SOURCE) -d $(@D)
|
|
mv $(@D)/FreeImage/* $(@D)
|
|
rmdir $(@D)/FreeImage
|
|
endef
|
|
|
|
define LIBFREEIMAGE_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define LIBFREEIMAGE_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define LIBFREEIMAGE_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
|