[packages] lzo: remove missing macros patch
[packages.git] / utils / stress / Makefile
1 #
2 # Copyright (C) 2006-2010 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:=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:=a607afa695a511765b40993a64c6e2f4
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/stress
23   SECTION:=utils
24   CATEGORY:=Utilities
25   DEPENDS:=@!LINUX_2_4
26   TITLE:=stress is a simple stress utility
27   URL:=http://weather.ou.edu/~apw/projects/stress/
28 endef
29
30 define Package/stress/description
31 stress is a simple tool that imposes certain types of compute \ stress on
32 UNIX-like operating systems.
33 endef
34
35 CONFIGURE_ARGS += \
36         --prefix="/usr"
37
38 MAKE_FLAGS += \
39         CFLAGS="$(TARGET_CFLAGS)"
40
41 define Package/stress/install
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,stress))