1
0

Makefile 994 B

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