Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= pptp
  5. PKG_VERSION:= 1.8.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= e39c42d933242a8a6dd8600a0fa7f0a5ec8f066d10c4149d8e81a5c68fe4bbda
  8. PKG_DESCR:= point-to-point tunneling protocol client
  9. PKG_SECTION:= net/ppp
  10. PKG_DEPENDS:= ppp
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
  12. PKG_CFLINE_PPTP:= select ADK_KERNEL_NET_IPGRE m@
  13. PKG_CFLINE_PPTP+= select ADK_KERNEL_PPP m
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PPTP,pptp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_PPTP}/sbin
  21. ${INSTALL_DIR} ${IDIR_PPTP}/usr/sbin
  22. ${INSTALL_DIR} ${IDIR_PPTP}/etc/ppp
  23. ${INSTALL_BIN} ./files/ifup.pptp ${IDIR_PPTP}/sbin/ifup.pptp
  24. ${INSTALL_DATA} ./files/options.pptp ${IDIR_PPTP}/etc/ppp/
  25. ${INSTALL_BIN} ${WRKBUILD}/pptp ${IDIR_PPTP}/usr/sbin/
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk