![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
757 B
Makefile
28 lines
757 B
Makefile
################################################################################
|
|
#
|
|
# libscrypt
|
|
#
|
|
################################################################################
|
|
|
|
LIBSCRYPT_VERSION = v1.21
|
|
LIBSCRYPT_SITE = $(call github,technion,libscrypt,$(LIBSCRYPT_VERSION))
|
|
LIBSCRYPT_LICENSE = BSD-2-Clause
|
|
LIBSCRYPT_LICENSE_FILES = LICENSE
|
|
LIBSCRYPT_INSTALL_STAGING = YES
|
|
|
|
define LIBSCRYPT_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
|
endef
|
|
|
|
define LIBSCRYPT_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
|
|
DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define LIBSCRYPT_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr \
|
|
DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|