Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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_URL:= http://www.tcpdump.org
  12. PKG_SITES:= http://www.tcpdump.org/release/ \
  13. http://www.sfr-fresh.com/unix/misc/ \
  14. http://www.at.tcpdump.org/ \
  15. http://www.br.tcpdump.org/
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,TCPDUMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin
  28. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/
  29. include ${TOPDIR}/mk/pkg-bottom.mk