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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Jul 22 20:36:33 2015 UTC (4 years, 2 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove old.

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

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.35.ebuild,v 1.5 2012/02/25 06:24:37 robbat2 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