Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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
  11. PKG_BUILDDEP:= libpcap
  12. PKG_NEEDS:= threads
  13. PKG_URL:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
  14. PKG_SITES:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,PTUNNEL,ptunnel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" \
  19. ac_cv_linux_vers=2 \
  20. td_cv_buggygetaddrinfo="no"
  21. ptunnel-install:
  22. ${INSTALL_DIR} ${IDIR_PTUNNEL}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ptunnel ${IDIR_PTUNNEL}/usr/sbin/
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk