![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-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>
32 lines
798 B
Makefile
32 lines
798 B
Makefile
################################################################################
|
|
#
|
|
# libnatpmp
|
|
#
|
|
################################################################################
|
|
|
|
LIBNATPMP_VERSION = 20150609
|
|
LIBNATPMP_SITE = http://miniupnp.free.fr/files
|
|
LIBNATPMP_INSTALL_STAGING = YES
|
|
LIBNATPMP_LICENSE = BSD-3-Clause
|
|
LIBNATPMP_LICENSE_FILES = LICENSE
|
|
|
|
define LIBNATPMP_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
CC="$(TARGET_CC)"
|
|
endef
|
|
|
|
define LIBNATPMP_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
PREFIX=$(STAGING_DIR) \
|
|
HEADERS='declspec.h natpmp.h' \
|
|
$(TARGET_CONFIGURE_OPTS) install
|
|
endef
|
|
|
|
define LIBNATPMP_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
|
PREFIX=$(TARGET_DIR) \
|
|
$(TARGET_CONFIGURE_OPTS) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|