Cosmetic fix
[openwrt.git] / 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:=1
8 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
9
10 PKG_SOURCE_URL:=@SF/pptpclient
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,PPTP,pptp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR) \
25 CC=$(TARGET_CC) \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 all
28 touch $@
29
30 $(IPKG_PPTP):
31 install -d -m0755 $(IDIR_PPTP)/etc/init.d
32 install -m0755 ./files/pptp.init $(IDIR_PPTP)/etc/init.d/S50pptp
33 install -d -m0755 $(IDIR_PPTP)/etc/ppp
34 install -m0644 ./files/options.pptp $(IDIR_PPTP)/etc/ppp/
35 install -d -m0755 $(IDIR_PPTP)/usr/sbin
36 install -m0755 $(PKG_BUILD_DIR)/pptp $(IDIR_PPTP)/usr/sbin/
37 $(RSTRIP) $(IDIR_PPTP)
38 $(IPKG_BUILD) $(IDIR_PPTP) $(PACKAGE_DIR)
This page took 0.045679 seconds and 5 git commands to generate.