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.

49 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=stress
  9. PKG_VERSION:=1.0.4
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://fossies.org/linux/privat
  13. PKG_HASH:=369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/stress
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=stress is a simple stress utility
  22. URL:=
  23. MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  24. endef
  25. define Package/stress/description
  26. stress is a simple tool that imposes certain types of compute \ stress on
  27. UNIX-like operating systems.
  28. endef
  29. CONFIGURE_ARGS += \
  30. --prefix="/usr"
  31. MAKE_FLAGS += \
  32. CFLAGS="$(TARGET_CFLAGS)"
  33. define Package/stress/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,stress))