2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-08-22 17:51:00 +02:00
|
|
|
#
|
2007-08-24 10:11:17 +02:00
|
|
|
# pptp-linux
|
2007-08-22 17:51:00 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-08-22 17:51:00 +02:00
|
|
|
|
2014-03-31 23:12:09 +02:00
|
|
|
PPTP_LINUX_VERSION = 1.8.0
|
2012-08-26 01:52:48 +02:00
|
|
|
PPTP_LINUX_SITE = http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-$(PPTP_LINUX_VERSION)
|
2010-11-02 20:31:41 +01:00
|
|
|
PPTP_LINUX_SOURCE = pptp-$(PPTP_LINUX_VERSION).tar.gz
|
2012-05-29 10:05:04 +02:00
|
|
|
PPTP_LINUX_MAKE = $(MAKE1)
|
2017-03-30 15:43:32 +02:00
|
|
|
PPTP_LINUX_LICENSE = GPL-2.0+
|
2013-05-24 15:43:02 +02:00
|
|
|
PPTP_LINUX_LICENSE_FILES = COPYING
|
2007-08-22 17:51:00 +02:00
|
|
|
|
2010-11-02 20:31:41 +01:00
|
|
|
define PPTP_LINUX_BUILD_CMDS
|
2016-10-14 00:13:48 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) OPTIMIZE= DEBUG= \
|
2010-11-02 20:31:41 +01:00
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
2014-03-31 23:12:09 +02:00
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
|
|
|
IP=/sbin/ip
|
2010-11-02 20:31:41 +01:00
|
|
|
endef
|
2007-08-24 10:11:17 +02:00
|
|
|
|
2010-11-02 20:31:41 +01:00
|
|
|
define PPTP_LINUX_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 -D $(@D)/pptp $(TARGET_DIR)/usr/sbin/pptp
|
|
|
|
endef
|
2007-08-24 10:11:17 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|