Makefile 1012 B

123456789101112131415161718192021222324252627282930
  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:= netperf
  5. PKG_VERSION:= 2.4.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 391a0d98954c72a6ad7f08b8a115e1ce
  8. PKG_DESCR:= Program and service to do network performance measurement.
  9. PKG_SECTION:= net
  10. PKG_URL:= http://www.netperf.org/netperf/
  11. PKG_SITES:= ftp://ftp.netperf.org/netperf/archive/ \
  12. ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,NETPERF,${PKG_NAME},${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=no
  16. CONFIGURE_STYLE:= gnu
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_NETPERF}/usr/bin
  21. ${INSTALL_BIN} ${WRKINST}/usr/bin/netperf ${IDIR_NETPERF}/usr/bin/
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/netserver ${IDIR_NETPERF}/usr/bin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk