Makefile 855 B

123456789101112131415161718192021222324252627282930
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= pptp
  7. PKG_VERSION:= 1.6.0
  8. PKG_RELEASE:= 3
  9. PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,PPTP,pptp,${PKG_VERSION}-${PKG_RELEASE}))
  13. BUILD_STYLE:= auto
  14. MAKE_FLAGS+= CC="${TARGET_CC}" \
  15. CFLAGS="${TARGET_CFLAGS}"
  16. do-install:
  17. ${INSTALL_DIR} ${IDIR_PPTP}/sbin
  18. ${INSTALL_DIR} ${IDIR_PPTP}/usr/sbin
  19. ${INSTALL_DIR} ${IDIR_PPTP}/etc/ppp
  20. ${INSTALL_BIN} ./files/ifup.pptp ${IDIR_PPTP}/sbin/ifup.pptp
  21. ${INSTALL_DATA} ./files/options.pptp ${IDIR_PPTP}/etc/ppp/
  22. ${INSTALL_BIN} ${WRKBUILD}/pptp ${IDIR_PPTP}/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk