You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=stress-ng
  7. PKG_VERSION:=0.12.04
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  10. PKG_SOURCE_URL:=https://kernel.ubuntu.com/~cking/tarballs/stress-ng
  11. PKG_HASH:=b4e34bda8db4ed37e33b7a861bc06ad77cbbd234d63236da2cb58f02e3f3218e
  12. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  13. PKG_LICENSE:=GPL-2.0-only
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_INSTALL:=1
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/stress-ng
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=stress-ng is a stress test utility
  22. URL:=https://kernel.ubuntu.com/~cking/stress-ng/
  23. DEPENDS:=+zlib +libbsd +libaio +libsctp
  24. endef
  25. define Package/stress-ng/description
  26. stress-ng will stress test a computer system in various selectable ways. It
  27. was designed to exercise various physical subsystems of a computer as well as
  28. the various operating system kernel interfaces.
  29. endef
  30. define Package/stress-ng/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress-ng $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,stress-ng))