Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= pptp
  5. PKG_VERSION:= 1.6.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631
  8. PKG_DESCR:= a Point-to-Point Tunneling Protocol (PPTP) client
  9. PKG_SECTION:= ppp
  10. PKG_DEPENDS:= ppp kmod-net-ipgre
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,PPTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. MAKE_FLAGS+= CC="${TARGET_CC}" \
  17. CFLAGS="${TARGET_CFLAGS}"
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_PPTP}/sbin
  20. ${INSTALL_DIR} ${IDIR_PPTP}/usr/sbin
  21. ${INSTALL_DIR} ${IDIR_PPTP}/etc/ppp
  22. ${INSTALL_BIN} ./files/ifup.pptp ${IDIR_PPTP}/sbin/ifup.pptp
  23. ${INSTALL_DATA} ./files/options.pptp ${IDIR_PPTP}/etc/ppp/
  24. ${INSTALL_BIN} ${WRKBUILD}/pptp ${IDIR_PPTP}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk