Makefile 997 B

12345678910111213141516171819202122232425262728293031323334
  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. MASTER_SITES:= http://www.tcpdump.org/release/ \
  11. http://www.sfr-fresh.com/unix/misc/ \
  12. http://www.at.tcpdump.org/ \
  13. http://www.br.tcpdump.org/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,TCPDUMP,tcpdump,${PKG_VERSION}-${PKG_RELEASE}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOSTCC} \
  18. ac_cv_linux_vers=2 \
  19. td_cv_buggygetaddrinfo="no"
  20. CONFIGURE_ARGS+= --without-crypto
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" INCLS="-I. -I${STAGING_DIR}/usr/include"
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk