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.

40 lines
928 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:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  13. PKG_HASH:=9ae78e883f3ce071d32ee0f1b9a2845a634fc4dd94a434e653fdbef551c5e10f
  14. PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
  15. PKG_LICENSE:=BSD-Style Open Source License
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/hdparm
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. SUBMENU:=Disc
  21. TITLE:=Hard disk drive configuration utilitity
  22. URL:=https://sourceforge.net/projects/hdparm/
  23. endef
  24. define Package/hdparm/description
  25. get/set SATA/IDE device parameters
  26. endef
  27. define Package/hdparm/install
  28. $(INSTALL_DIR) $(1)/sbin
  29. $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
  30. endef
  31. $(eval $(call BuildPackage,hdparm))