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.

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