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.

42 lines
950 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.47
  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_MD5SUM:=560c1d8af7f696239cbbca7cd146304a
  15. PKG_MAINTAINER:=Richard Kunze <richard.kunze@web.de>
  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:=http://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))