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.

44 lines
982 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.62
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=2c0f9d75cdbeda928a25a128cd3d0b7120445ec0910c0b29d4c1038ed1be777f
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=BSD-Style Open Source License
  16. PKG_LICENSE_FILES:=LICENSE.TXT
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/hdparm
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. SUBMENU:=Disc
  24. TITLE:=Hard disk drive configuration utilitity
  25. URL:=https://sourceforge.net/projects/hdparm/
  26. endef
  27. define Package/hdparm/description
  28. get/set SATA/IDE device parameters
  29. endef
  30. define Package/hdparm/install
  31. $(INSTALL_DIR) $(1)/sbin
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/hdparm $(1)/sbin
  33. endef
  34. $(eval $(call BuildPackage,hdparm))