Makefile 985 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 ${ADK_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/acct
  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 ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,FPROBE,fprobe,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-piddir=/var \
  17. --with-pcap=${STAGING_TARGET_DIR}/usr/include \
  18. --with-libpcap=${STAGING_TARGET_DIR}/usr/lib \
  19. --with-membulk=index8 \
  20. --with-hash=xor8 \
  21. fprobe-install:
  22. ${INSTALL_DIR} ${IDIR_FPROBE}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/fprobe ${IDIR_FPROBE}/usr/sbin/
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk