Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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. BUILD_STYLE:= auto
  14. INSTALL_STYLE:= auto
  15. do-configure:
  16. ${CP} ./files/CONFIG ${WRKBUILD}/build/
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_SYSSTAT}/usr/lib/sa
  19. ${INSTALL_BIN} ${WRKINST}/usr/lib/sa/sa1 ${IDIR_SYSSTAT}/usr/lib/sa
  20. ${INSTALL_BIN} ${WRKINST}/usr/lib/sa/sa2 ${IDIR_SYSSTAT}/usr/lib/sa
  21. ${INSTALL_BIN} ${WRKINST}/usr/lib/sa/sadc ${IDIR_SYSSTAT}/usr/lib/sa
  22. ${INSTALL_DIR} ${IDIR_SYSSTAT}/usr/bin
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/sar ${IDIR_SYSSTAT}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/sadf ${IDIR_SYSSTAT}/usr/bin
  25. ${INSTALL_BIN} ${WRKINST}/usr/bin/iostat ${IDIR_SYSSTAT}/usr/bin
  26. ${INSTALL_BIN} ${WRKINST}/usr/bin/mpstat ${IDIR_SYSSTAT}/usr/bin
  27. include ${TOPDIR}/mk/pkg-bottom.mk