37451a9dc5
The vpnc upstream project has not made any tarball release since many years, but they have continued to update their Subversion repository. A Github repository synced with the Subversion repository now exists at https://github.com/ndpgroup/vpnc, which is more practical to generate patches and submit pull requests. For this reason, we move to using this Github repository as the new source for the vpnc package. The specific commit that we use corresponds to version 0.5.3 exactly. All patches are re-formatted using Git. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
834 B
Makefile
29 lines
834 B
Makefile
################################################################################
|
|
#
|
|
# vpnc
|
|
#
|
|
################################################################################
|
|
|
|
VPNC_VERSION = 70f1211f6f26e87e374d66f9a986e855215b8e3e
|
|
VPNC_SITE = $(call github,ndpgroup,vpnc,$(VPNC_VERSION))
|
|
VPNC_LICENSE = GPLv2+
|
|
VPNC_LICENSE_FILES = COPYING
|
|
|
|
VPNC_DEPENDENCIES = libgcrypt libgpg-error
|
|
|
|
VPNC_LDFLAGS = $(TARGET_LDFLAGS) -lgcrypt -lgpg-error
|
|
VPNC_CPPFLAGS = -DVERSION=\\\"$(VPNC_VERSION)\\\"
|
|
|
|
define VPNC_BUILD_CMDS
|
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
CPPFLAGS="$(VPNC_CPPFLAGS)" LDFLAGS="$(VPNC_LDFLAGS)"
|
|
endef
|
|
|
|
define VPNC_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) install $(TARGET_CONFIGURE_OPTS) \
|
|
CPPFLAGS="$(VPNC_CPPFLAGS)" LDFLAGS="$(VPNC_LDFLAGS)" \
|
|
DESTDIR="$(TARGET_DIR)" PREFIX=/usr
|
|
endef
|
|
|
|
$(eval $(generic-package))
|