2007-07-17 20:14:25 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# vpnc
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-09-21 14:28:37 +02:00
|
|
|
VPNC_VERSION = 0.5.3
|
|
|
|
VPNC_SITE = http://www.unix-ag.uni-kl.de/~massar/vpnc
|
|
|
|
VPNC_LICENSE = GPLv2+
|
|
|
|
VPNC_LICENSE_FILES = COPYING
|
2007-07-17 20:14:25 +02:00
|
|
|
|
2012-09-21 14:28:37 +02:00
|
|
|
VPNC_DEPENDENCIES = libgcrypt libgpg-error
|
2007-07-17 20:14:25 +02:00
|
|
|
|
2012-09-21 14:28:37 +02:00
|
|
|
VPNC_LDFLAGS = $(TARGET_LDFLAGS) -lgcrypt -lgpg-error
|
|
|
|
VPNC_CPPFLAGS = -DVERSION=\\\"$(VPNC_VERSION)\\\"
|
2007-07-17 20:14:25 +02:00
|
|
|
|
2012-09-21 14:28:37 +02:00
|
|
|
define VPNC_BUILD_CMDS
|
|
|
|
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CPPFLAGS="$(VPNC_CPPFLAGS)" LDFLAGS="$(VPNC_LDFLAGS)"
|
|
|
|
endef
|
2007-07-17 20:14:25 +02:00
|
|
|
|
2012-09-21 14:28:37 +02:00
|
|
|
define VPNC_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) -C $(@D) install $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CPPFLAGS="$(VPNC_CPPFLAGS)" LDFLAGS="$(VPNC_LDFLAGS)" \
|
|
|
|
DESTDIR="$(TARGET_DIR)" PREFIX=/usr
|
|
|
|
endef
|
2007-07-17 20:14:25 +02:00
|
|
|
|
2012-09-21 14:28:37 +02:00
|
|
|
$(eval $(generic-package))
|