2006-06-27 02:35:46 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2005-03-21 09:12:49 +01:00
|
|
|
# $Id$
|
|
|
|
|
2005-03-15 11:34:22 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=pptp
|
|
|
|
PKG_VERSION:=1.6.0
|
2005-11-07 02:12:51 +01:00
|
|
|
PKG_RELEASE:=3
|
2005-03-21 09:12:49 +01:00
|
|
|
|
2005-03-15 11:34:22 +01:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-05-10 21:06:22 +02:00
|
|
|
PKG_SOURCE_URL:=@SF/pptpclient
|
|
|
|
PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
|
2005-03-15 11:34:22 +01:00
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
2006-09-24 22:49:31 +02:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
2006-06-21 04:32:39 +02:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2005-05-19 01:42:09 +02:00
|
|
|
|
2006-05-10 21:06:22 +02:00
|
|
|
define Package/pptp
|
2006-09-23 15:29:15 +02:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=PPTP client
|
|
|
|
DESCRIPTION:=\
|
|
|
|
This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
|
|
|
|
URL:=http://pptpclient.sourceforge.net/
|
2006-05-10 21:06:22 +02:00
|
|
|
endef
|
2005-03-15 11:34:22 +01:00
|
|
|
|
2006-05-10 21:06:22 +02:00
|
|
|
define Package/pptp/install
|
2006-11-23 01:29:07 +01: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 21:06:22 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,pptp))
|