mirror of
https://github.com/openwrt/packages.git
synced 2025-07-04 11:53:09 +00:00
As a replacement for this project despite it was resurrected,
it is not maintained.
We added stress-ng [1], which is regularly updated and
gets new features and there is no reason to have two packages
in this repository.
[1] fba6bb9489
("stress-ng: add")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=stress-ng
|
|
PKG_VERSION:=0.19.00
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)?
|
|
PKG_HASH:=7d0be69dcdad655145026f499863de01d317e87ff87acd48c3343d451540d172
|
|
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
# For MIPS there is some inline assembly, and this won't compile without '-mno-mips16'
|
|
PKG_BUILD_FLAGS:=no-mips16
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/stress-ng
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=stress-ng is a stress test utility
|
|
URL:=https://github.com/ColinIanKing/stress-ng
|
|
DEPENDS:=+zlib +libbsd +libaio +libsctp +libkmod +libatomic +libjpeg
|
|
PROVIDES:=stress
|
|
endef
|
|
|
|
define Package/stress-ng/description
|
|
stress-ng will stress test a computer system in various selectable ways. It
|
|
was designed to exercise various physical subsystems of a computer as well as
|
|
the various operating system kernel interfaces.
|
|
endef
|
|
|
|
MAKE_FLAGS += \
|
|
KERNEL=Linux
|
|
|
|
define Package/stress-ng/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress-ng $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,stress-ng))
|