Makefile 1008 B

12345678910111213141516171819202122232425262728293031
  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:= net
  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. BUILD_STYLE:= auto
  15. MAKE_FLAGS+= CC="${TARGET_CC}" \
  16. CFLAGS="${TARGET_CFLAGS}"
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_PPTP}/sbin
  19. ${INSTALL_DIR} ${IDIR_PPTP}/usr/sbin
  20. ${INSTALL_DIR} ${IDIR_PPTP}/etc/ppp
  21. ${INSTALL_BIN} ./files/ifup.pptp ${IDIR_PPTP}/sbin/ifup.pptp
  22. ${INSTALL_DATA} ./files/options.pptp ${IDIR_PPTP}/etc/ppp/
  23. ${INSTALL_BIN} ${WRKBUILD}/pptp ${IDIR_PPTP}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk