freewrt_2_0
| 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 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= pptp
|
|---|
| 10 | PKG_VERSION:= 1.6.0
|
|---|
| 11 | PKG_RELEASE:= 5
|
|---|
| 12 | PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= @SF/pptpclient
|
|---|
| 15 |
|
|---|
| 16 | include $(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.