1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= c23a9bdd219a0a36ae7ca20e7c9749f2efdcdbf108aabeeeb5066ba442ec88b6
10 PKG_DESCR
:= point-to-point tunneling protocol server
13 PKG_KDEPENDS
:= ppp ppp-mppe net-ipgre
14 PKG_URL
:= http
://www.poptop.org
/
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=poptop
/}
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 PKG_LIBC_DEPENDS
:= uclibc-ng glibc
21 include ${ADK_TOPDIR}/mk
/package.mk
23 $(eval
$(call PKG_template
,PPTPD
,pptpd
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_CFLAGS
+= -fPIC
-DSBINDIR
='\\\"/usr/sbin\\\"'
26 FAKE_FLAGS
+= INSTALL
="install"
29 ${INSTALL_DIR} ${IDIR_PPTPD}/etc
/ppp
30 ${INSTALL_DIR} ${IDIR_PPTPD}/usr
/sbin
31 ${INSTALL_DATA} .
/files
/pptpd.conf
${IDIR_PPTPD}/etc
/
32 ${INSTALL_DATA} .
/files
/options.pptpd
${IDIR_PPTPD}/etc
/ppp
/
33 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/pptpd \
34 ${WRKINST}/usr
/sbin
/pptpctrl
${IDIR_PPTPD}/usr
/sbin
/
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk