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.13.05
  8. PKG_RELEASE:=$(AUTORELEASE)
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)?
  11. PKG_HASH:=3de49e1100866634f549e99c1644283d0cde817b844a69dcf7f80afa2227d350
  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://github.com/ColinIanKing/stress-ng
  23. DEPENDS:=+zlib +libbsd +libaio +libsctp +libkmod
  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))