3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=9a706327fb9827541d7c86d48ceb9631
10 PKG_SOURCE_URL
:=@SF
/pptpclient
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,PPTP
,pptp
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 touch
$(PKG_BUILD_DIR
)/.configured
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 CFLAGS
="$(TARGET_CFLAGS)" \
28 touch
$(PKG_BUILD_DIR
)/.built
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
)