Makefile 1004 B

123456789101112131415161718192021222324252627282930313233343536
  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:= fprobe
  7. PKG_VERSION:= 1.1
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 65850d0470078269b33eee58cba77ac2
  10. PKG_DESCR:= NetFlow probe
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= libpcap libpthread
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,FPROBE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE= gnu
  18. CONFIGURE_ARGS+= --with-piddir=/var \
  19. --with-pcap=${STAGING_DIR}/usr/include \
  20. --with-libpcap=${STAGING_DIR}/usr/lib \
  21. --with-membulk=index8 \
  22. --with-hash=xor8 \
  23. BUILD_STYLE= auto
  24. INSTALL_STYLE= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_FPROBE}/usr/sbin
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe ${IDIR_FPROBE}/usr/sbin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk