2006-06-27 00:35:46 +00:00
|
|
|
#
|
2008-05-03 12:11:35 +00:00
|
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
2006-06-27 00:35:46 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2005-03-21 08:12:49 +00:00
|
|
|
|
2005-03-15 10:34:22 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=pptp
|
|
|
|
PKG_VERSION:=1.6.0
|
2010-05-01 17:55:41 +00:00
|
|
|
PKG_RELEASE:=7
|
2005-03-21 08:12:49 +00:00
|
|
|
|
2005-03-15 10:34:22 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-05-10 19:06:22 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/pptpclient
|
|
|
|
PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
|
2005-03-15 10:34:22 +00:00
|
|
|
|
2006-06-21 02:32:39 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2005-05-18 23:42:09 +00:00
|
|
|
|
2006-05-10 19:06:22 +00:00
|
|
|
define Package/pptp
|
2006-09-23 13:29:15 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=PPTP client
|
|
|
|
URL:=http://pptpclient.sourceforge.net/
|
2008-05-03 12:11:35 +00:00
|
|
|
DEPENDS:=+ppp +kmod-gre
|
2006-05-10 19:06:22 +00:00
|
|
|
endef
|
2005-03-15 10:34:22 +00:00
|
|
|
|
2007-09-07 08:34:51 +00:00
|
|
|
define Package/pptp/daemon
|
|
|
|
This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
|
|
|
|
endef
|
|
|
|
|
2006-05-10 19:06:22 +00:00
|
|
|
define Package/pptp/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/ppp
|
|
|
|
$(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/
|
|
|
|
$(INSTALL_DIR) $(1)/lib/network
|
|
|
|
$(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/
|
2006-05-10 19:06:22 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,pptp))
|