1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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_BUILDDEP+= libpcap
  8. PKG_MD5SUM:= b22ca72890df2301d922c9f2d17867f9
  9. PKG_DESCR:= A tool for network monitoring and data acquisition.
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= 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_STYLE:= gnu
  20. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOSTCC} \
  21. ac_cv_linux_vers=2 \
  22. td_cv_buggygetaddrinfo="no"
  23. CONFIGURE_ARGS+= --without-crypto
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin
  29. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk