mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 15:53:29 +08:00
6255ea2f65
Upstream renamed declspec.h to natpmp_declspec.h
1d11336398
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
32 lines
805 B
Makefile
32 lines
805 B
Makefile
################################################################################
|
|
#
|
|
# libnatpmp
|
|
#
|
|
################################################################################
|
|
|
|
LIBNATPMP_VERSION = 20230423
|
|
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='natpmp_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))
|