Makefile 1012 B

123456789101112131415161718192021222324252627282930313233
  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. PKG_DESCR:= a Point-to-Point Tunneling Protocol (PPTP) client
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= ppp kmod-gre
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pptpclient/}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,PPTP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. BUILD_STYLE:= auto
  17. MAKE_FLAGS+= CC="${TARGET_CC}" \
  18. CFLAGS="${TARGET_CFLAGS}"
  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 ${TOPDIR}/mk/pkg-bottom.mk