From: MichaƂ Bartoszkiewicz Date: Sun, 5 Feb 2012 01:19:18 +0000 (+0100) Subject: Nowy pakiet: sys-apps/rescan-scsi-bus-1.56 X-Git-Url: https://git.bzium.org/embe/overlay.git/commitdiff_plain/7f94ed5b59eea474080c165423c1c307f98a7411?ds=inline;hp=2ff4557f8573773b037caa4a4befa4d2aff943c7 Nowy pakiet: sys-apps/rescan-scsi-bus-1.56 --- diff --git a/sys-apps/rescan-scsi-bus/Manifest b/sys-apps/rescan-scsi-bus/Manifest new file mode 100644 index 0000000..e91fddc --- /dev/null +++ b/sys-apps/rescan-scsi-bus/Manifest @@ -0,0 +1,2 @@ +DIST rescan-scsi-bus.sh-1.56 22469 RMD160 872285e7db70558b10ff6465a07fb221d1cfb25b SHA1 f4f08ceebb69a0e921da3b2695463270b1e1391f SHA256 d84a89a1f9162ca7711c5b1f18f4c036a41c231d15b4feeba0b50f815dcaf43d +EBUILD rescan-scsi-bus-1.56.ebuild 896 RMD160 d99a1956daf530808e7cc8e91c4afeb2521b1454 SHA1 995e60792e5d1e153806601a34e0d1f76020bf46 SHA256 fec34fedcb2b55c66fef6ac522415cdd5425f26ccafdcbc3b6e3469278ca8762 diff --git a/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild new file mode 100644 index 0000000..fdfe1a4 --- /dev/null +++ b/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.56.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/rescan-scsi-bus/rescan-scsi-bus-1.48.ebuild,v 1.1 2011/02/02 09:30:32 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="Script to rescan the SCSI bus without rebooting" +HOMEPAGE="http://www.garloff.de/kurt/linux/" +SCRIPT_NAME="${PN}.sh" +SRC_NAME="${SCRIPT_NAME}-${PV}" +SRC_URI="http://www.garloff.de/kurt/linux/${SRC_NAME}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=sys-apps/sg3_utils-1.24" + +S="${WORKDIR}" + +src_unpack() { + cp -f "${DISTDIR}"/${SRC_NAME} "${WORKDIR}"/${SCRIPT_NAME} +} + +src_compile() { + : +} + +src_install() { + into /usr + dosbin ${SCRIPT_NAME} + # Some scripts look for this without the trailing .sh + # Some look for it with the trailing .sh, so have a symlink + dosym ${SCRIPT_NAME} /usr/sbin/${PN} +}