diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-10 05:54:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-10 05:54:51 +0000 |
commit | 6a3a2e6129018ffe32913e58ef152ccf69621b94 (patch) | |
tree | 7168f341afe4cf2fac8e0e83b3017a8b8b861fd7 /sys-apps | |
parent | Fix USE=-nls support #84641 by B. Bruce. (diff) | |
download | gentoo-2-6a3a2e6129018ffe32913e58ef152ccf69621b94.tar.gz gentoo-2-6a3a2e6129018ffe32913e58ef152ccf69621b94.tar.bz2 gentoo-2-6a3a2e6129018ffe32913e58ef152ccf69621b94.zip |
touchups
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/sg3_utils/sg3_utils-1.11.ebuild | 17 |
1 files changed, 7 insertions, 10 deletions
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!' } |