[Packages] utils/sdparm: Makefile cleanup

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10523 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
olli 2008-02-26 17:25:34 +00:00
parent 770889bf61
commit c72fb1dd2c

View File

@ -1,9 +1,10 @@
#
# Copyright (C) 2007 OpenWrt.org
#
# Copyright (C) 2007-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
@ -15,12 +16,14 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://sg.torque.net/sg/p/
PKG_MD5SUM:=cc6de6fdba91f382d00b9b8a09dd14f2
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
define Package/sdparm
SECTION:=utils
CATEGORY:=Utilities
TITLE:=read or modify scsi or usb disk parameters
TITLE:=Read or modify SCSI or USB disk parameters
DEPENDS:=+kmod-scsi-generic
SUBMENU:=disc
endef
@ -30,8 +33,8 @@ define Package/sdparm/description
endef
define Package/sdparm/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/bin/
endef
$(eval $(call BuildPackage,sdparm))