Blame view

buildroot/buildroot-2016.08.1/package/vpnc/vpnc.mk 804 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  ################################################################################
  #
  # vpnc
  #
  ################################################################################
  
  VPNC_VERSION = b1243d29e0c00312ead038b04a2cf5e2fa31d740
  VPNC_SITE = $(call github,ndpgroup,vpnc,$(VPNC_VERSION))
  VPNC_LICENSE = GPLv2+
  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))