source: freewrt/package/pptp/Makefile@ 18c227bd

freewrt_2_0
Last change on this file since 18c227bd was 91e99e3, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

add pptp support for startup scripts, add option-icon package for usb modems, fix dependency of ctorrent

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2401 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.0 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= pptp
10PKG_VERSION:= 1.6.0
11PKG_RELEASE:= 5
12PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631
13
14PKG_SOURCE_URL:= @SF/pptpclient
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,PPTP,pptp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.configured:
21 touch $@
22
23$(WRKBUILD)/.built:
24 $(MAKE) -C $(WRKBUILD) \
25 CC=$(TARGET_CC) \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 all
28 touch $@
29
30$(IPKG_PPTP):
31 install -d -m0755 $(IDIR_PPTP)/etc/ppp/templates
32 install -d -m0755 $(IDIR_PPTP)/usr/sbin
33 install -d -m0755 $(IDIR_PPTP)/sbin
34 install -m0755 ./files/ifup.pptp $(IDIR_PPTP)/sbin/ifup.pptp
35 install -m0644 ./files/options.pptp $(IDIR_PPTP)/etc/ppp/
36 install -m0644 ./files/pptp $(IDIR_PPTP)/etc/ppp/templates
37 install -m0755 $(WRKBUILD)/pptp $(IDIR_PPTP)/usr/sbin/
38 $(RSTRIP) $(IDIR_PPTP)
39 $(IPKG_BUILD) $(IDIR_PPTP) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.