Makefile 962 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:= ptunnel
  5. PKG_VERSION:= 0.61
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b45f73875f2af48f101816672f83a5fe
  8. PKG_DESCR:= Tunnel TCP connections over ICMP packets
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpcap libpthread
  11. PKG_URL:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
  12. PKG_SITES:= http://www.cti.ecp.fr/~beauxir5/ptunnel/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,PTUNNEL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" \
  17. ac_cv_linux_vers=2 \
  18. td_cv_buggygetaddrinfo="no"
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_PTUNNEL}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ptunnel ${IDIR_PTUNNEL}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk