248468a86dbca3658ddd7d6fe22589f957e3ab1c
[feed/packages.git] / utils / stress-ng / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=stress-ng
9 PKG_VERSION:=0.15.06
10 PKG_RELEASE:=1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)?
14 PKG_HASH:=c38cefcf0a83f6c65aed7c36e57a9a1ee8373418ef71cf089a75b0661dcd4623
15
16 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
17 PKG_LICENSE:=GPL-2.0-only
18 PKG_LICENSE_FILES:=COPYING
19
20 PKG_INSTALL:=1
21 PKG_BUILD_PARALLEL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/stress-ng
26 SECTION:=utils
27 CATEGORY:=Utilities
28 TITLE:=stress-ng is a stress test utility
29 URL:=https://github.com/ColinIanKing/stress-ng
30 DEPENDS:=+zlib +libbsd +libaio +libsctp +libkmod +libatomic +libjpeg
31 endef
32
33 define Package/stress-ng/description
34 stress-ng will stress test a computer system in various selectable ways. It
35 was designed to exercise various physical subsystems of a computer as well as
36 the various operating system kernel interfaces.
37 endef
38
39 MAKE_FLAGS += \
40 KERNEL=Linux
41
42 define Package/stress-ng/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress-ng $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,stress-ng))