source: freewrt/package/pptp/Makefile@ 621d5d2

freewrt_2_0
Last change on this file since 621d5d2 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
RevLine 
[c8b93bd]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.
[475ad56]6
7include $(TOPDIR)/rules.mk
8
[c8b93bd]9PKG_NAME:= pptp
10PKG_VERSION:= 1.6.0
[91e99e3]11PKG_RELEASE:= 5
[c8b93bd]12PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631
[475ad56]13
[c8b93bd]14PKG_SOURCE_URL:= @SF/pptpclient
[475ad56]15
[c8b93bd]16include $(TOPDIR)/mk/package.mk
[475ad56]17
18$(eval $(call PKG_template,PPTP,pptp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
[d419478]20$(WRKBUILD)/.configured:
[475ad56]21 touch $@
22
[d419478]23$(WRKBUILD)/.built:
24 $(MAKE) -C $(WRKBUILD) \
[475ad56]25 CC=$(TARGET_CC) \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 all
28 touch $@
29
30$(IPKG_PPTP):
[91e99e3]31 install -d -m0755 $(IDIR_PPTP)/etc/ppp/templates
32 install -d -m0755 $(IDIR_PPTP)/usr/sbin
[475ad56]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/
[91e99e3]36 install -m0644 ./files/pptp $(IDIR_PPTP)/etc/ppp/templates
[d419478]37 install -m0755 $(WRKBUILD)/pptp $(IDIR_PPTP)/usr/sbin/
[475ad56]38 $(RSTRIP) $(IDIR_PPTP)
39 $(IPKG_BUILD) $(IDIR_PPTP) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.