1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=stress
  9. PKG_VERSION:=1.0.4
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://people.seas.harvard.edu/~apw/stress/
  13. PKG_MD5SUM:=a607afa695a511765b40993a64c6e2f4
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/stress
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=stress is a simple stress utility
  22. URL:=http://people.seas.harvard.edu/~apw/stress/
  23. MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  24. endef
  25. define Package/stress/description
  26. stress is a simple tool that imposes certain types of compute \ stress on
  27. UNIX-like operating systems.
  28. endef
  29. CONFIGURE_ARGS += \
  30. --prefix="/usr"
  31. MAKE_FLAGS += \
  32. CFLAGS="$(TARGET_CFLAGS)"
  33. define Package/stress/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,stress))