Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= tcpdump
  5. PKG_VERSION:= 4.0.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b22ca72890df2301d922c9f2d17867f9
  8. PKG_DESCR:= A tool for network monitoring and data acquisition.
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libpcap
  11. PKG_BUILDDEP+= libpcap
  12. PKG_URL:= http://www.tcpdump.org
  13. PKG_SITES:= http://www.tcpdump.org/release/ \
  14. http://www.sfr-fresh.com/unix/misc/ \
  15. http://www.at.tcpdump.org/ \
  16. http://www.br.tcpdump.org/
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,TCPDUMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOSTCC} \
  20. ac_cv_linux_vers=2 \
  21. td_cv_buggygetaddrinfo="no"
  22. CONFIGURE_ARGS+= --without-crypto
  23. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" \
  24. INCLS="-I. -I${STAGING_DIR}/usr/include"
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk