Makefile 926 B

12345678910111213141516171819202122232425262728
  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:= tptest
  5. PKG_VERSION:= 3.1.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 46f941bdab738a2a11ecc2a5f757ec77
  8. PKG_DESCR:= Internet bandwidth tester
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://tptest.sourceforge.net/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tptest/}
  12. include $(TOPDIR)/mk/package.mk
  13. $(eval $(call PKG_template,TPTEST,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. do-build:
  15. (cd ${WRKSRC}/apps/unix/server && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
  16. (cd ${WRKSRC}/apps/unix/client && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
  17. do-install:
  18. $(INSTALL_DIR) $(IDIR_TPTEST)/usr/bin
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/tptest{client,server} \
  20. $(IDIR_TPTEST)/usr/bin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk