76d8545a3d
Signed-off-by: Erik Inge Bols? <knan-openwrt@anduin.net> git-svn-id: svn://svn.openwrt.org/openwrt/packages@15262 3c298f89-4303-0410-b956-a3cf2f4a3e73
43 lines
995 B
Makefile
43 lines
995 B
Makefile
#
|
|
# Copyright (C) 2006-2008 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=hdparm
|
|
PKG_VERSION:=9.12
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
PKG_MD5SUM:=4064cb2cc60b7bbdcea02ec163631068
|
|
|
|
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
|
|
|
|
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
|
|
|
|
MAKE_FLAGS += \
|
|
CFLAGS="$(EXTRA_CFLAGS)" \
|
|
LDFLAGS="$(EXTRA_LDFLAGS)" \
|
|
|
|
define Package/hdparm/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,hdparm))
|