2008-02-18 10:57:19 +00:00
|
|
|
#
|
2012-06-09 23:47:29 +00:00
|
|
|
# Copyright (C) 2006-2012 OpenWrt.org
|
2006-07-24 15:27:30 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=hdparm
|
2012-06-09 23:47:29 +00:00
|
|
|
PKG_VERSION:=9.39
|
2006-07-24 15:27:30 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2008-02-18 10:57:19 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
2012-06-09 23:47:29 +00:00
|
|
|
PKG_MD5SUM:=2bc17b72403885d4faf959682944243b
|
2006-07-24 15:27:30 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/hdparm
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2009-10-08 08:06:28 +00:00
|
|
|
SUBMENU:=disc
|
2006-07-24 15:27:30 +00:00
|
|
|
TITLE:=Hard disk drive configuration utilitity
|
|
|
|
URL:=http://sourceforge.net/projects/hdparm/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/hdparm/description
|
2011-04-13 22:20:46 +00:00
|
|
|
get/set SATA/IDE device parameters
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
2006-07-24 15:27:30 +00:00
|
|
|
define Package/hdparm/install
|
2008-02-26 18:36:50 +00:00
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
|
2006-07-24 15:27:30 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,hdparm))
|