From 6a3a2e6129018ffe32913e58ef152ccf69621b94 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 10 Mar 2005 05:54:51 +0000 Subject: touchups (Portage version: 2.0.51.19) --- sys-apps/sg3_utils/sg3_utils-1.11.ebuild | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'sys-apps/sg3_utils') diff --git a/sys-apps/sg3_utils/sg3_utils-1.11.ebuild b/sys-apps/sg3_utils/sg3_utils-1.11.ebuild index 650ef5c28fe7..03c778b80a9a 100644 --- a/sys-apps/sg3_utils/sg3_utils-1.11.ebuild +++ b/sys-apps/sg3_utils/sg3_utils-1.11.ebuild @@ -1,27 +1,25 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/sg3_utils-1.11.ebuild,v 1.1 2004/11/28 19:16:14 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/sg3_utils-1.11.ebuild,v 1.2 2005/03/10 05:54:51 vapier Exp $ inherit eutils -DESCRIPTION="Sg3_utils provide a collection of programs that use the sg SCSI interface. Contains rescan_scsi_bus.sh." +DESCRIPTION="apps for querying the sg SCSI interface (contains rescan_scsi_bus.sh)" HOMEPAGE="http://www.torque.net/sg/" SRC_URI="http://www.torque.net/sg/p/${P}.tgz http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh" LICENSE="GPL-2" SLOT="0" - -KEYWORDS="~x86 ~sparc ~amd64 ~ppc" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="" DEPEND="" src_unpack() { unpack ${P}.tgz - cd ${S} - - epatch ${FILESDIR}/${PN}-llseek.patch + cd "${S}" + epatch "${FILESDIR}"/${PN}-llseek.patch sed -i "s:-O2:$CFLAGS:g" Makefile } @@ -30,7 +28,6 @@ src_compile() { } src_install() { - exeinto /usr/bin - doexe ${DISTDIR}/rescan-scsi-bus.sh || die 'Failed to install rescan-scsi-bus.sh!' - einstall DESTDIR=${D} PREFIX=/usr || die 'Failed to install sg3_utils!' + newbin ${DISTDIR}/rescan-scsi-bus.sh || die 'Failed to install rescan-scsi-bus.sh!' + einstall DESTDIR="${D}" PREFIX=/usr || die 'Failed to install sg3_utils!' } -- cgit v1.2.3-65-gdbad