Makefile 1018 B

1234567891011121314151617181920212223242526272829303132333435
  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_BUILDDEP+= libpcap
  8. PKG_MD5SUM:= 65850d0470078269b33eee58cba77ac2
  9. PKG_DESCR:= NetFlow probe
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libpcap libpthread
  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_STYLE= gnu
  17. CONFIGURE_ARGS+= --with-piddir=/var \
  18. --with-pcap=${STAGING_DIR}/usr/include \
  19. --with-libpcap=${STAGING_DIR}/usr/lib \
  20. --with-membulk=index8 \
  21. --with-hash=xor8 \
  22. BUILD_STYLE= auto
  23. INSTALL_STYLE= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_FPROBE}/usr/sbin
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe ${IDIR_FPROBE}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk