1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Script to rescan the SCSI bus without rebooting"
7 HOMEPAGE="http://www.garloff.de/kurt/linux/"
9 SRC_NAME="${SCRIPT_NAME}-${PV}"
10 SRC_URI="http://www.garloff.de/kurt/linux/${SRC_NAME}"
14 KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
16 RDEPEND=">=sys-apps/sg3_utils-1.24
17 <sys-apps/sg3_utils-1.44
25 cp -f "${DISTDIR}"/${SRC_NAME} "${WORKDIR}"/${SCRIPT_NAME}
31 # Some scripts look for this without the trailing .sh
32 # Some look for it with the trailing .sh, so have a symlink
33 dosym ${SCRIPT_NAME} /usr/sbin/${PN}