[package] update stress to 1.0.1 (#5813)
[packages.git] / utils / stress / Makefile
1 #
2 # Copyright (C) 2006 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.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://weather.ou.edu/~apw/projects/stress/
16 PKG_MD5SUM:=9e8a4a4f687567f40de5bb34c86e1bfe
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/stress
21   SECTION:=utils
22   CATEGORY:=Utilities
23   DEPENDS:=@LINUX_2_6
24   TITLE:=stress is a simple stress utility
25   URL:=http://weather.ou.edu/~apw/projects/stress/
26 endef
27
28 define Package/stress/description
29         stress is a simple tool that imposes certain types of compute \ stress
30         on UNIX-like operating systems.
31 endef
32
33 CONFIGURE_ARGS += \
34         --prefix="/usr"
35
36 MAKE_FLAGS += \
37         CFLAGS="$(TARGET_CFLAGS)"
38
39 define Package/stress/install
40         $(INSTALL_DIR) $(1)/usr/bin
41         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/stress $(1)/usr/bin
42 endef
43
44 $(eval $(call BuildPackage,stress))