[MINI2440] Updated defconfig to add (optional) packages
[openwrt/mini2440.git] / package / pptp / Makefile
blob1576352362059efc7cbccb849f7b011880732724
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id$
9 include $(TOPDIR)/rules.mk
11 PKG_NAME:=pptp
12 PKG_VERSION:=1.6.0
13 PKG_RELEASE:=5
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/pptpclient
17 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
19 include $(INCLUDE_DIR)/package.mk
21 define Package/pptp
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=PPTP client
25 URL:=http://pptpclient.sourceforge.net/
26 DEPENDS:=+ppp +kmod-gre
27 endef
29 define Package/pptp/daemon
30 This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
31 endef
33 define Package/pptp/install
34 $(INSTALL_DIR) $(1)/usr/sbin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
36 $(INSTALL_DIR) $(1)/etc/ppp
37 $(INSTALL_DATA) ./files/options.pptp $(1)/etc/ppp/
38 $(INSTALL_DIR) $(1)/lib/network
39 $(INSTALL_BIN) ./files/pptp.sh $(1)/lib/network/
40 endef
42 $(eval $(call BuildPackage,pptp))