Makefile 1.2 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= sysstat
  5. PKG_VERSION:= 7.0.3
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 732904b006a0224b0a9ce4d312946277
  8. PKG_DESCR:= Utilities for system monitoring and performance analysis
  9. PKG_SECTION:= utils
  10. PKG_SITES:= http://perso.orange.fr/sebastien.godard/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,SYSSTAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIG_STYLE:= manual
  14. do-configure:
  15. ${CP} ./files/CONFIG ${WRKBUILD}/build/
  16. post-install:
  17. ${INSTALL_DIR} ${IDIR_SYSSTAT}/usr/lib/sa
  18. ${INSTALL_BIN} ${WRKINST}/usr/lib/sa/sa1 ${IDIR_SYSSTAT}/usr/lib/sa
  19. ${INSTALL_BIN} ${WRKINST}/usr/lib/sa/sa2 ${IDIR_SYSSTAT}/usr/lib/sa
  20. ${INSTALL_BIN} ${WRKINST}/usr/lib/sa/sadc ${IDIR_SYSSTAT}/usr/lib/sa
  21. ${INSTALL_DIR} ${IDIR_SYSSTAT}/usr/bin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/sar ${IDIR_SYSSTAT}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/sadf ${IDIR_SYSSTAT}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/iostat ${IDIR_SYSSTAT}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/mpstat ${IDIR_SYSSTAT}/usr/bin
  26. include ${TOPDIR}/mk/pkg-bottom.mk