2008-02-18 10:57:19 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2008 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
|
2009-04-19 15:49:55 +00:00
|
|
|
PKG_VERSION:=9.12
|
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)
|
2009-04-19 15:49:55 +00:00
|
|
|
PKG_MD5SUM:=4064cb2cc60b7bbdcea02ec163631068
|
2006-07-24 15:27:30 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/hdparm
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
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
|
|
|
|
Tune hard disk parameters for high performance.
|
|
|
|
Get/set hard disk parameters for Linux IDE drives.
|
|
|
|
Primary use is for enabling irq-unmasking and IDE multiplemode.
|
|
|
|
endef
|
|
|
|
|
2008-02-18 10:57:19 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
CFLAGS="$(EXTRA_CFLAGS)" \
|
|
|
|
LDFLAGS="$(EXTRA_LDFLAGS)" \
|
2006-10-27 19:35:00 +00:00
|
|
|
|
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))
|