[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:
parent
770889bf61
commit
c72fb1dd2c
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
# $Id$
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
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_SOURCE_URL:=http://sg.torque.net/sg/p/
|
||||||
PKG_MD5SUM:=cc6de6fdba91f382d00b9b8a09dd14f2
|
PKG_MD5SUM:=cc6de6fdba91f382d00b9b8a09dd14f2
|
||||||
|
|
||||||
|
PKG_FIXUP = libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/sdparm
|
define Package/sdparm
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
TITLE:=read or modify scsi or usb disk parameters
|
TITLE:=Read or modify SCSI or USB disk parameters
|
||||||
DEPENDS:=+kmod-scsi-generic
|
DEPENDS:=+kmod-scsi-generic
|
||||||
SUBMENU:=disc
|
SUBMENU:=disc
|
||||||
endef
|
endef
|
||||||
@ -30,8 +33,8 @@ define Package/sdparm/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/sdparm/install
|
define Package/sdparm/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sdparm $(1)/usr/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,sdparm))
|
$(eval $(call BuildPackage,sdparm))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user