Makefile 922 B

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