a113767be75517256f8e28ccab44d0b5a3bc2633
[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 endef
26
27 define Package/sdparm/description
28 The sdparm utility outputs and in some cases modifies SCSI device parameters.
29 endef
30
31 define Package/sdparm/install
32 $(INSTALL_DIR) $(1)/usr/sbin
33 $(CP) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/sbin/
34 endef
35
36 $(eval $(call BuildPackage,sdparm))