python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / libnatpmp / libnatpmp.mk
blobcdd65e96cdaa59918ebe7da09b55609c40dd4079
1 ################################################################################
3 # libnatpmp
5 ################################################################################
7 LIBNATPMP_VERSION = 20150609
8 LIBNATPMP_SITE = http://miniupnp.free.fr/files
9 LIBNATPMP_INSTALL_STAGING = YES
10 LIBNATPMP_LICENSE = BSD-3c
11 LIBNATPMP_LICENSE_FILES = LICENSE
13 define LIBNATPMP_BUILD_CMDS
14 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
15 CC="$(TARGET_CC)"
16 endef
18 define LIBNATPMP_INSTALL_STAGING_CMDS
19 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
20 PREFIX=$(STAGING_DIR) \
21 HEADERS='declspec.h natpmp.h' \
22 $(TARGET_CONFIGURE_OPTS) install
23 endef
25 define LIBNATPMP_INSTALL_TARGET_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
27 PREFIX=$(TARGET_DIR) \
28 $(TARGET_CONFIGURE_OPTS) install
29 endef
31 $(eval $(generic-package))