2008-02-26 17:25:34 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007-2008 OpenWrt.org
|
2007-10-08 21:54:13 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2008-02-26 17:25:34 +00:00
|
|
|
# $Id$
|
2007-10-08 21:54:13 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=sdparm
|
2008-07-05 10:33:30 +00:00
|
|
|
PKG_VERSION:=1.03
|
2007-10-08 21:54:13 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2008-07-05 10:33:30 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2007-10-08 21:54:13 +00:00
|
|
|
PKG_SOURCE_URL:=http://sg.torque.net/sg/p/
|
2008-07-05 10:33:30 +00:00
|
|
|
PKG_MD5SUM:=12ccf6df3ce677437bfd1bc3bebd4d25
|
2007-10-08 21:54:13 +00:00
|
|
|
|
2008-02-26 17:25:34 +00:00
|
|
|
PKG_FIXUP = libtool
|
|
|
|
|
2007-10-08 21:54:13 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/sdparm
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2008-02-26 17:25:34 +00:00
|
|
|
TITLE:=Read or modify SCSI or USB disk parameters
|
2007-10-08 21:54:13 +00:00
|
|
|
DEPENDS:=+kmod-scsi-generic
|
2007-10-18 19:13:05 +00:00
|
|
|
SUBMENU:=disc
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sdparm/description
|
2008-07-05 10:33:30 +00:00
|
|
|
The sdparm utility outputs and in some cases modifies SCSI device
|
|
|
|
parameters.
|
2007-10-08 21:54:13 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/sdparm/install
|
2008-02-26 17:25:34 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2008-02-26 17:33:38 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
|
2007-10-08 21:54:13 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,sdparm))
|