2016-03-09 10:35:41 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# norm
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-05-21 22:38:16 +02:00
|
|
|
NORM_VERSION = 1.5.8
|
2020-02-04 14:31:56 +01:00
|
|
|
NORM_SITE = https://github.com/USNavalResearchLaboratory/norm/releases/download/v$(NORM_VERSION)
|
|
|
|
NORM_SOURCE = src-norm-with-protolib-$(NORM_VERSION).tgz
|
2016-03-09 10:35:41 +01:00
|
|
|
NORM_INSTALL_STAGING = YES
|
|
|
|
NORM_LICENSE = NRL License
|
|
|
|
NORM_LICENSE_FILES = LICENSE.TXT
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y)
|
|
|
|
NORM_DEPENDENCIES += libnetfilter_queue
|
|
|
|
endif
|
|
|
|
|
|
|
|
# install target doesn't install headers unfortunately...
|
2016-10-30 17:02:21 +01:00
|
|
|
define NORM_INSTALL_HEADERS
|
2016-03-09 10:35:41 +01:00
|
|
|
cp -f $(@D)/include/norm* $(STAGING_DIR)/usr/include
|
|
|
|
endef
|
2016-10-30 17:02:21 +01:00
|
|
|
NORM_POST_INSTALL_STAGING_HOOKS += NORM_INSTALL_HEADERS
|
2016-03-09 10:35:41 +01:00
|
|
|
|
2016-10-30 17:02:21 +01:00
|
|
|
$(eval $(waf-package))
|