You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
932 B

  1. #
  2. # Copyright (C) 2006-2014 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:=hdparm
  9. PKG_VERSION:=9.45
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_MD5SUM:=1c75d0751a44928b6c4bc81fb16d7fe8
  14. PKG_MAINTAINER:=Richard Kunze <richard.kunze@web.de>
  15. PKG_LICENSE:=BSD-Style Open Source License
  16. include $(INCLUDE_DIR)/package.mk
  17. TARGET_CFLAGS+=-D_GNU_SOURCE
  18. define Package/hdparm
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. SUBMENU:=disc
  22. TITLE:=Hard disk drive configuration utilitity
  23. URL:=http://sourceforge.net/projects/hdparm/
  24. endef
  25. define Package/hdparm/description
  26. get/set SATA/IDE device parameters
  27. endef
  28. define Package/hdparm/install
  29. $(INSTALL_DIR) $(1)/sbin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
  31. endef
  32. $(eval $(call BuildPackage,hdparm))