1
0

Makefile 1020 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= ptunnel
  5. PKG_VERSION:= 0.61
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 9f19f05f772cd7caba52a0f0adf9fd93d5fab8f6c50fc7fada0505294bd0aac3
  8. PKG_DESCR:= tunnel tcp connections over icmp packets
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libpcap libpthread
  11. PKG_BUILDDEP:= libpcap
  12. PKG_URL:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
  13. PKG_SITES:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PTUNNEL,ptunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" \
  18. ac_cv_linux_vers=2 \
  19. td_cv_buggygetaddrinfo="no"
  20. ptunnel-install:
  21. ${INSTALL_DIR} ${IDIR_PTUNNEL}/usr/sbin
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ptunnel ${IDIR_PTUNNEL}/usr/sbin/
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk