Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= sysstat
  5. PKG_VERSION:= 7.0.3
  6. PKG_RELEASE:= 3
  7. PKG_HASH:= ce66047a5600a741a51d347553721c05f3372896460323f25c3c19d9225e8ee7
  8. PKG_DESCR:= utilities for system monitoring and performance analysis
  9. PKG_SECTION:= sys/utils
  10. PKG_SITES:= http://perso.orange.fr/sebastien.godard/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,SYSSTAT,sysstat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. do-configure:
  16. ${CP} ./files/CONFIG ${WRKBUILD}/build/
  17. sysstat-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 ${ADK_TOPDIR}/mk/pkg-bottom.mk