added sdparm and scsi-generic module, from #2481
[openwrt/svn-archive/archive.git] / utils / sdparm / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sdparm
11 PKG_VERSION:=1.02
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://sg.torque.net/sg/p/
16 PKG_MD5SUM:=cc6de6fdba91f382d00b9b8a09dd14f2
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/sdparm
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=read or modify scsi or usb disk parameters
24 DEPENDS:=+kmod-scsi-generic
25 DESCRIPTION:=\
26 The sdparm utility outputs and in some cases modifies SCSI device parameters.
27 endef
28
29 define Package/sdparm/install
30 $(INSTALL_DIR) $(1)/usr/sbin
31 $(CP) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/sbin/
32 endef
33
34 $(eval $(call BuildPackage,sdparm))