/[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.10 - (hide annotations) (download)
Thu May 21 19:54:23 2015 UTC (4 years, 5 months ago) by maekke
Branch: MAIN
Changes since 1.9: +2 -2 lines
arm stable, bug #530402

(Portage version: 2.2.19/cvs/Linux x86_64, RepoMan options: --include-arches="arm", signed Manifest commit with key 072AD062)

1 jer 1.5 # Copyright 1999-2015 Gentoo Foundation
2 robbat2 1.1 # Distributed under the terms of the GNU General Public License v2
3 maekke 1.10 # $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.57-r1.ebuild,v 1.9 2015/04/22 18:09:31 jer Exp $
4 robbat2 1.1
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 maekke 1.10 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86" # alpha hppa ppc64 sparc
18 robbat2 1.1
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