[Packages] utils/sdparm: Makefile cleanup
[openwrt/svn-archive/archive.git] / utils / sdparm / Makefile
1 #
2 # Copyright (C) 2007-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:=sdparm
12 PKG_VERSION:=1.02
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://sg.torque.net/sg/p/
17 PKG_MD5SUM:=cc6de6fdba91f382d00b9b8a09dd14f2
18
19 PKG_FIXUP = libtool
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/sdparm
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=Read or modify SCSI or USB disk parameters
27 DEPENDS:=+kmod-scsi-generic
28 SUBMENU:=disc
29 endef
30
31 define Package/sdparm/description
32 The sdparm utility outputs and in some cases modifies SCSI device parameters.
33 endef
34
35 define Package/sdparm/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,sdparm))