standardize Makefile, change section from base to net
[openwrt.git] / package / pptp / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=pptp
12 PKG_VERSION:=1.6.0
13 PKG_RELEASE:=3
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=@SF/pptpclient
18 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
19 PKG_CAT:=zcat
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/pptp
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=PPTP client
27 DESCRIPTION:=\
28 This package contains a PPTP (Point-to-Point Tunneling Protocol) client.
29 URL:=http://pptpclient.sourceforge.net/
30 endef
31
32 define Package/pptp/install
33 install -d -m0755 $(1)/usr/sbin
34 install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
35 install -d -m0755 $(1)/etc/ppp
36 install -m0644 ./files/options.pptp $(1)/etc/ppp/
37 install -d -m0755 $(1)/lib/network
38 install -m0755 ./files/pptp.sh $(1)/lib/network/
39 endef
40
41 $(eval $(call BuildPackage,pptp))
This page took 0.053386 seconds and 5 git commands to generate.