kumquat-buildroot/package/pptp-linux/pptp-linux.mk

27 lines
780 B
Makefile
Raw Normal View History

################################################################################
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
#
################################################################################
2007-08-22 17:51:00 +02:00
PPTP_LINUX_VERSION = 1.8.0
PPTP_LINUX_SITE = http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-$(PPTP_LINUX_VERSION)
PPTP_LINUX_SOURCE = pptp-$(PPTP_LINUX_VERSION).tar.gz
PPTP_LINUX_MAKE = $(MAKE1)
PPTP_LINUX_LICENSE = GPL-2.0+
PPTP_LINUX_LICENSE_FILES = COPYING
2007-08-22 17:51:00 +02:00
define PPTP_LINUX_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) OPTIMIZE= DEBUG= \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
IP=/sbin/ip
endef
2007-08-24 10:11:17 +02: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
$(eval $(generic-package))