2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-12 22:54:05 +01:00
|
|
|
#
|
|
|
|
# xl2tp
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-12 22:54:05 +01:00
|
|
|
|
2013-12-13 02:02:25 +01:00
|
|
|
XL2TP_VERSION = v1.3.2
|
2013-12-05 18:20:46 +01:00
|
|
|
XL2TP_SITE = $(call github,xelerance,xl2tpd,$(XL2TP_VERSION))
|
2013-12-13 02:02:25 +01:00
|
|
|
XL2TP_DEPENDENCIES = libpcap openssl
|
2013-12-13 02:01:08 +01:00
|
|
|
XL2TP_LICENSE = GPLv2
|
|
|
|
XL2TP_LICENSE_FILES = LICENSE
|
2010-12-12 22:54:05 +01:00
|
|
|
|
|
|
|
define XL2TP_BUILD_CMDS
|
2012-09-23 04:51:00 +02:00
|
|
|
$(SED) 's/ -O2 //' $(@D)/Makefile
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
2010-12-12 22:54:05 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define XL2TP_INSTALL_TARGET_CMDS
|
|
|
|
$(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|