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

Contents of /sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.57-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Mar 27 16:28:43 2015 UTC (4 years, 7 months ago) by ago
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable for amd64, wrt bug #530402

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 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.57-r1.ebuild,v 1.5 2015/03/19 18:30:31 jer Exp $
4
5 EAPI=5
6
7 inherit eutils
8
9 DESCRIPTION="Script to rescan the SCSI bus without rebooting"
10 HOMEPAGE="http://www.garloff.de/kurt/linux/"
11 SCRIPT_NAME="${PN}.sh"
12 SRC_NAME="${SCRIPT_NAME}-${PV}"
13 SRC_URI="http://www.garloff.de/kurt/linux/${SRC_NAME}"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~s390 ~sh ~sparc ~x86" # alpha hppa ppc64 sparc
18
19 RDEPEND=">=sys-apps/sg3_utils-1.24
20 app-admin/killproc
21 virtual/modutils
22 app-shells/bash"
23
24 S=${WORKDIR}
25
26 src_unpack() {
27 cp -f "${DISTDIR}"/${SRC_NAME} "${WORKDIR}"/${SCRIPT_NAME}
28 }
29
30 src_install() {
31 into /usr
32 dosbin ${SCRIPT_NAME}
33 # Some scripts look for this without the trailing .sh
34 # Some look for it with the trailing .sh, so have a symlink
35 dosym ${SCRIPT_NAME} /usr/sbin/${PN}
36 }

  ViewVC Help
Powered by ViewVC 1.1.20