1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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:= tptest
  5. PKG_VERSION:= 3.1.7
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 46f941bdab738a2a11ecc2a5f757ec77
  8. PKG_DESCR:= internet bandwidth tester
  9. PKG_SECTION:= net/perf
  10. PKG_URL:= http://tptest.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tptest/}
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,TPTEST,tptest,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. do-build:
  19. (cd ${WRKSRC}/apps/unix/server && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
  20. (cd ${WRKSRC}/apps/unix/client && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
  21. do-install:
  22. $(INSTALL_DIR) $(IDIR_TPTEST)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/tptest{client,server} \
  24. $(IDIR_TPTEST)/usr/bin/
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk