zip: move to github
[packages.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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sdparm
11 PKG_VERSION:=1.04
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://sg.danny.cz/sg/p
16 PKG_MD5SUM:=f4b8c7bfc1cd27d30fbdc066a65a44ea
17
18 PKG_FIXUP:=autoreconf
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/sdparm
23   SECTION:=utils
24   CATEGORY:=Utilities
25   TITLE:=Read or modify SCSI or USB disk parameters
26   DEPENDS:=+kmod-scsi-generic
27   SUBMENU:=disc
28   URL:=http://sg.danny.cz/sg/sdparm.html
29 endef
30
31 define Package/sdparm/description
32         The sdparm utility outputs and in some cases modifies SCSI device
33         parameters.
34 endef
35
36 define Package/sdparm/install
37         $(INSTALL_DIR) $(1)/usr/bin
38         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,sdparm))