0478b4c2b88ad999218645132670574117ed4ce4
[openwrt/staging/florian.git] / openwrt / package / pptp / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=pptp
6 PKG_VERSION:=1.6.0
7 PKG_RELEASE:=3
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_SOURCE_URL:=@SF/pptpclient
12 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
13 PKG_CAT:=zcat
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/pptp
18 SECTION:=base
19 # CATEGORY:=FIXME
20 TITLE:=PPTP (Point-to-Point Tunneling Protocol) client
21 DESCRIPTION:=A Point-to-Point Tunneling Protocol Client
22 URL:=http://pptpclient.sourceforge.net/
23 endef
24
25 define Package/pptp/install
26 install -d -m0755 $(1)/etc/ppp
27 install -m0644 ./files/options.pptp $(1)/etc/ppp/
28 install -d -m0755 $(1)/sbin
29 install -m0755 ./files/ifup.pptp $(1)/sbin/
30 install -d -m0755 $(1)/usr/sbin
31 install -m0755 $(PKG_BUILD_DIR)/pptp $(1)/usr/sbin/
32 endef
33
34 $(eval $(call BuildPackage,pptp))