[Packages] utils/sdparm: Ups... more cleanup
[openwrt/svn-archive/archive.git] / utils / hdparm / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=hdparm
12 PKG_VERSION:=8.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=87c1512497195204034503665f71f5fc
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/hdparm
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=Hard disk drive configuration utilitity
25 URL:=http://sourceforge.net/projects/hdparm/
26 endef
27
28 define Package/hdparm/description
29 Tune hard disk parameters for high performance.
30 Get/set hard disk parameters for Linux IDE drives.
31 Primary use is for enabling irq-unmasking and IDE multiplemode.
32 endef
33
34 MAKE_FLAGS += \
35 CFLAGS="$(EXTRA_CFLAGS)" \
36 LDFLAGS="$(EXTRA_LDFLAGS)" \
37
38 define Package/hdparm/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin
41 endef
42
43 $(eval $(call BuildPackage,hdparm))