/[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.13 - (show annotations) (download)
Wed Aug 5 12:04:13 2015 UTC (4 years, 2 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
ia64 stable wrt bug #530402

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x1BDC0E5AC42EB5D6)

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.12 2015/08/02 09:58:59 pacho 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 ppc64 ~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