kumquat-buildroot/package/vpnc/vpnc.mk
Rahul Bedarkar af31c309e7 boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+
We want to use SPDX identifier for license strings as much as possible.
SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+.

This change is done by using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:16:38 +02:00

28 lines
806 B
Makefile

################################################################################
#
# vpnc
#
################################################################################
VPNC_VERSION = b1243d29e0c00312ead038b04a2cf5e2fa31d740
VPNC_SITE = $(call github,ndpgroup,vpnc,$(VPNC_VERSION))
VPNC_LICENSE = GPL-2.0+
VPNC_LICENSE_FILES = COPYING
VPNC_DEPENDENCIES = libgcrypt libgpg-error gnutls host-pkgconf
define VPNC_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
$(TARGET_CONFIGURE_OPTS) \
LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \
VERSION=$(VPNC_VERSION) MANS=
endef
define VPNC_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install $(TARGET_CONFIGURE_OPTS) \
VERSION=$(VPNC_VERSION) MANS= \
DESTDIR="$(TARGET_DIR)" PREFIX=/usr
endef
$(eval $(generic-package))