Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= tcpdump
  7. PKG_VERSION:= 4.0.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= b22ca72890df2301d922c9f2d17867f9
  10. PKG_DESCR:= A tool for network monitoring and data acquisition.
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= libpcap
  13. PKG_URL:= http://www.tcpdump.org
  14. PKG_SITES:= http://www.tcpdump.org/release/ \
  15. http://www.sfr-fresh.com/unix/misc/ \
  16. http://www.at.tcpdump.org/ \
  17. http://www.br.tcpdump.org/
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,TCPDUMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. CONFIGURE_STYLE:= gnu
  21. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOSTCC} \
  22. ac_cv_linux_vers=2 \
  23. td_cv_buggygetaddrinfo="no"
  24. CONFIGURE_ARGS+= --without-crypto
  25. BUILD_STYLE:= auto
  26. INSTALL_STYLE:= auto
  27. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
  28. post-install:
  29. ${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin
  30. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/
  31. include ${TOPDIR}/mk/pkg-bottom.mk