Makefile 957 B

1234567891011121314151617181920212223242526272829303132
  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_BUILDDEP+= libpcap
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fprobe/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,FPROBE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  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. post-install:
  22. ${INSTALL_DIR} ${IDIR_FPROBE}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe ${IDIR_FPROBE}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk