kumquat-buildroot/package/norm/norm.mk
Titouan Christophe 49c112e16c package/norm: switch to Github hosted archive
The original download server (downloads.pf.itd.nrl.navy.mil)
is quite unreliable, which lead to the download being very slow
or even failing. Since the project is now hosted on Github, we
switch to that site, which makes the download tractable.

Update the hash, and use the opportunity to realign fields to the new
spacing convention.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
[yann.morin.1998@free.fr: spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-02-05 17:43:51 +01:00

25 lines
753 B
Makefile

################################################################################
#
# norm
#
################################################################################
NORM_VERSION = 1.5.8
NORM_SITE = https://github.com/USNavalResearchLaboratory/norm/releases/download/v$(NORM_VERSION)
NORM_SOURCE = src-norm-with-protolib-$(NORM_VERSION).tgz
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...
define NORM_INSTALL_HEADERS
cp -f $(@D)/include/norm* $(STAGING_DIR)/usr/include
endef
NORM_POST_INSTALL_STAGING_HOOKS += NORM_INSTALL_HEADERS
$(eval $(waf-package))