6 PPTPC_SOURCE
:= pptp-linux-
$(PPTPC_VERSION
).
tar.gz
7 PPTPC_SITE
:= dl.sourceforge.net
/sourceforge
/pptpclient
/
8 PPTPC_DIR
:= $(BUILD_DIR
)/pptp-linux-
$(PPTPC_VERSION
)
11 PPTPC_PATCH_DIR
:= $(SOURCE_DIR
)/openwrt
/patches
/pptp-client
13 PPTPC_BUILD_DIR
:= $(BUILD_DIR
)/pptp-client_
$(PPTPC_VERSION
)-$(PPTPC_RELEASE
)
14 PPTPC_IPK_DIR
:= $(OPENWRT_IPK_DIR
)/pptp-client
15 PPTPC_IPK
:= $(PPTPC_BUILD_DIR
)_
$(ARCH
).ipk
18 $(DL_DIR
)/$(PPTPC_SOURCE
):
19 $(WGET
) -P
$(DL_DIR
) $(PPTPC_SITE
)/$(PPTPC_SOURCE
)
22 $(PPTPC_DIR
)/.stamp-unpacked
: $(DL_DIR
)/$(PPTPC_SOURCE
)
23 $(PPTPC_CAT
) $(DL_DIR
)/$(PPTPC_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
25 touch
$(PPTPC_DIR
)/.stamp-unpacked
28 $(PPTPC_DIR
)/.stamp-patched
: $(PPTPC_DIR
)/.stamp-unpacked
30 touch
$(PPTPC_DIR
)/.stamp-patched
33 $(PPTPC_DIR
)/.stamp-configured
: $(PPTPC_DIR
)/.stamp-patched
35 touch
$(PPTPC_DIR
)/.stamp-configured
38 $(PPTPC_DIR
)/.stamp-built
: $(PPTPC_DIR
)/.stamp-configured
43 OPTIMIZE
="$(TARGET_CFLAGS)" \
46 touch
$(PPTPC_DIR
)/.stamp-built
49 $(PPTPC_BUILD_DIR
): $(PPTPC_DIR
)/.stamp-built
50 mkdir
-p
$(PPTPC_BUILD_DIR
)
52 install -m0755
-d
$(PPTPC_BUILD_DIR
)/usr
/sbin
53 install -m0755
$(PPTPC_DIR
)/pptp
$(PPTPC_BUILD_DIR
)/usr
/sbin
55 install -m0755
-d
$(PPTPC_BUILD_DIR
)/etc
/ppp
56 install -m0644
$(PPTPC_IPK_DIR
)/root
/etc
/ppp
/pptp-client-options
$(PPTPC_BUILD_DIR
)/etc
/ppp
/
57 install -m0755
-d
$(PPTPC_BUILD_DIR
)/etc
/ppp
/peers
58 install -m0644
$(PPTPC_IPK_DIR
)/root
/etc
/ppp
/peers
/pptp-client-sample
$(PPTPC_BUILD_DIR
)/etc
/ppp
/peers
/
60 $(STRIP
) $(PPTPC_BUILD_DIR
)/usr
/sbin
/*
62 touch
$(PPTPC_DIR
)/.stamp-installed
65 $(PPTPC_IPK
): $(PPTPC_BUILD_DIR
)
66 cp
-a
$(PPTPC_IPK_DIR
)/CONTROL
$(PPTPC_BUILD_DIR
)/
67 perl
-pi
-e
"s/^Vers.*:.*$$/Version: $(PPTPC_VERSION)-$(PPTPC_RELEASE)/" $(PPTPC_BUILD_DIR
)/CONTROL
/control
68 perl
-pi
-e
"s/^Arch.*:.*$$/Architecture: $(ARCH)/" $(PPTPC_BUILD_DIR
)/CONTROL
/control
69 cd
$(BUILD_DIR
); $(IPKG_BUILD
) $(PPTPC_BUILD_DIR
)
72 pptp-client-ipk
: ipkg-utils
$(PPTPC_IPK
)
75 $(MAKE
) -C
$(PPTPC_DIR
) clean
77 pptp-client-clean-all
:
79 rm -rf
$(PPTPC_BUILD_DIR
)
This page took 0.043157 seconds and 5 git commands to generate.