3a66817ddfb7bbf26350b65f33a1733fe0d55d16
[feed/packages.git] / utils / stress / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=stress
11 PKG_VERSION:=1.0.4
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://fossies.org/linux/privat
16 PKG_HASH:=369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0
17
18 PKG_LICENSE:=GPL-2.0
19 PKG_LICENSE_FILES:=COPYING
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/stress
26 SECTION:=utils
27 CATEGORY:=Utilities
28 TITLE:=stress is a simple stress utility
29 URL:=
30 MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
31 endef
32
33 define Package/stress/description
34 stress is a simple tool that imposes certain types of compute \ stress on
35 UNIX-like operating systems.
36 endef
37
38 CONFIGURE_ARGS += \
39 --prefix="/usr"
40
41 MAKE_FLAGS += \
42 CFLAGS="$(TARGET_CFLAGS)"
43
44 define Package/stress/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,stress))