Merge pull request #19238 from dynasticorpheus/pycares
[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.14.03
10 PKG_RELEASE:=$(AUTORELEASE)
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:=95012c62883ab5826e6157557a075df98cce3cbce2a48bb40851bcc968a8441a
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))