Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_DEPENDS:=
  11. PKG_URL:= http://tptest.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=tptest/}
  13. # if downloaded package is not ending with .tar.gz use following
  14. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,TPTEST,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. # use following to add ./configure options
  18. #CONFIGURE_ARGS+= --disable-foo
  19. # overwrite any configure variables
  20. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  21. #BUILD_STYLE:= auto
  22. #INSTALL_STYLE:= auto
  23. do-build:
  24. (cd ${WRKSRC}/apps/unix/server && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
  25. (cd ${WRKSRC}/apps/unix/client && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
  26. # please install all files and directories to the package dir
  27. do-install:
  28. $(INSTALL_DIR) $(IDIR_TPTEST)/usr/bin
  29. $(INSTALL_BIN) $(WRKINST)/usr/bin/tptest{client,server} $(IDIR_TPTEST)/usr/bin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk