/[gentoo-x86]/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.29.ebuild
Gentoo

Contents of /sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.29.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sat Feb 25 06:24:37 2012 UTC (7 years, 7 months ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +3 -3 lines
Bug #402553: Depend on virtual/modutils instead of sys-apps/module-init-tools.

(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.29.ebuild,v 1.12 2010/08/29 17:10:45 armin76 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Script to rescan the SCSI bus without rebooting"
8 HOMEPAGE="http://www.garloff.de/kurt/linux/"
9 SCRIPT_NAME="${PN}.sh"
10 SRC_NAME="${SCRIPT_NAME}-${PV}"
11 SRC_URI="http://www.garloff.de/kurt/linux/${SRC_NAME}"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=">=sys-apps/sg3_utils-1.24
20 virtual/modutils
21 app-shells/bash"
22
23 S="${WORKDIR}"
24
25 src_unpack() {
26 einfo "Unpacking into ${WORKDIR}/"
27 cp -f "${DISTDIR}"/${SRC_NAME} "${WORKDIR}"/${SCRIPT_NAME}
28 #epatch "${FILESDIR}"/${P}-support-sysfs-only-systems.patch
29 }
30
31 src_compile() {
32 einfo "Nothing to compile"
33 }
34
35 src_install() {
36 into /usr
37 dosbin ${SCRIPT_NAME}
38 # Some scripts look for this without the trailing .sh
39 # Some look for it with the trailing .sh, so have a symlink
40 dosym ${SCRIPT_NAME} /usr/sbin/${PN}
41 }

  ViewVC Help
Powered by ViewVC 1.1.20