Makefile 999 B

1234567891011121314151617181920212223242526272829
  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:= netperf
  5. PKG_VERSION:= 2.4.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f6cbcc3d41da1737dc8ca65859a902eafb41fc43f3be59306ee17c5372e7e6ff
  8. PKG_DESCR:= network performance measurement tools
  9. PKG_SECTION:= net/perf
  10. PKG_URL:= http://www.netperf.org/netperf/
  11. PKG_SITES:= ftp://ftp.netperf.org/netperf/archive/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include ${ADK_TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,NETPERF,netperf,${PKG_VERSION}${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. # uClibc setpgrp does not take arguments
  16. CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  17. netperf-install:
  18. ${INSTALL_DIR} ${IDIR_NETPERF}/usr/bin
  19. ${INSTALL_BIN} ${WRKINST}/usr/bin/netperf ${IDIR_NETPERF}/usr/bin/
  20. ${INSTALL_BIN} ${WRKINST}/usr/bin/netserver ${IDIR_NETPERF}/usr/bin/
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk