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
929 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.58
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=9ae78e883f3ce071d32ee0f1b9a2845a634fc4dd94a434e653fdbef551c5e10f
  14. PKG_MAINTAINER:=
  15. PKG_LICENSE:=BSD-Style Open Source License
  16. PKG_LICENSE_FILES:=LICENSE.TXT
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/hdparm
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. SUBMENU:=Disc
  22. TITLE:=Hard disk drive configuration utilitity
  23. URL:=https://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))