![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
755 B
Makefile
28 lines
755 B
Makefile
################################################################################
|
|
#
|
|
# libenca
|
|
#
|
|
################################################################################
|
|
|
|
LIBENCA_VERSION = 1.19
|
|
LIBENCA_SITE = http://dl.cihar.com/enca
|
|
LIBENCA_SOURCE = enca-$(LIBENCA_VERSION).tar.xz
|
|
LIBENCA_INSTALL_STAGING = YES
|
|
LIBENCA_LICENSE = GPL-2.0
|
|
LIBENCA_LICENSE_FILES = COPYING
|
|
LIBENCA_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
LIBENCA_CONF_ENV += \
|
|
ac_cv_file__dev_random=yes \
|
|
ac_cv_file__dev_urandom=yes \
|
|
ac_cv_file__dev_arandom=no \
|
|
ac_cv_file__dev_srandom=no
|
|
|
|
define LIBENCA_MAKE_HOST_TOOL
|
|
$(MAKE) -C $(@D)/tools $(HOST_CONFIGURE_OPTS) make_hash
|
|
endef
|
|
|
|
LIBENCA_PRE_BUILD_HOOKS += LIBENCA_MAKE_HOST_TOOL
|
|
|
|
$(eval $(autotools-package))
|