diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-24 03:38:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-24 03:38:10 +0000 |
commit | 7423538a634cfd8e151bf89c8c8785ffb3b93cfb (patch) | |
tree | 7d407dd139615a8758018c6b5b2c4dd7ea0f8ced /sys-apps/sg3_utils | |
parent | no more tim (diff) | |
download | gentoo-2-7423538a634cfd8e151bf89c8c8785ffb3b93cfb.tar.gz gentoo-2-7423538a634cfd8e151bf89c8c8785ffb3b93cfb.tar.bz2 gentoo-2-7423538a634cfd8e151bf89c8c8785ffb3b93cfb.zip |
Version bump.
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'sys-apps/sg3_utils')
-rw-r--r-- | sys-apps/sg3_utils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/sg3_utils/files/digest-sg3_utils-1.22 | 6 | ||||
-rw-r--r-- | sys-apps/sg3_utils/sg3_utils-1.22.ebuild | 47 |
3 files changed, 59 insertions, 1 deletions
diff --git a/sys-apps/sg3_utils/ChangeLog b/sys-apps/sg3_utils/ChangeLog index e76f7559f3b1..68ff32a99b6d 100644 --- a/sys-apps/sg3_utils/ChangeLog +++ b/sys-apps/sg3_utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/sg3_utils # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/ChangeLog,v 1.23 2006/10/05 21:10:32 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sg3_utils/ChangeLog,v 1.24 2006/10/24 03:38:10 vapier Exp $ + +*sg3_utils-1.22 (24 Oct 2006) + + 24 Oct 2006; Mike Frysinger <vapier@gentoo.org> +sg3_utils-1.22.ebuild: + Version bump. 05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> -sg3_utils-1.08.ebuild, -sg3_utils-1.15.ebuild, -sg3_utils-1.18.ebuild, diff --git a/sys-apps/sg3_utils/files/digest-sg3_utils-1.22 b/sys-apps/sg3_utils/files/digest-sg3_utils-1.22 new file mode 100644 index 000000000000..469189fa2961 --- /dev/null +++ b/sys-apps/sg3_utils/files/digest-sg3_utils-1.22 @@ -0,0 +1,6 @@ +MD5 c134b452644dfaa3b5d7b6721492963a rescan-scsi-bus.sh 5884 +RMD160 3ca6340b1299fe15fa96484d6db5ea0232292aba rescan-scsi-bus.sh 5884 +SHA256 14bb8550a240f5eea8047a449dc8f3c33544f45ecc83c6cbcaf7c7ff5c1227d1 rescan-scsi-bus.sh 5884 +MD5 1ac06935f3bf75332b3cbed0785d059a sg3_utils-1.22.tgz 505941 +RMD160 15f3a0eea95270d1a4ea96803bd3d5f2dd3da936 sg3_utils-1.22.tgz 505941 +SHA256 9139435537fb1c77454301bc173407d56907ecbbbb3c75bc2c13fbd2438a7f22 sg3_utils-1.22.tgz 505941 diff --git a/sys-apps/sg3_utils/sg3_utils-1.22.ebuild b/sys-apps/sg3_utils/sg3_utils-1.22.ebuild new file mode 100644 index 000000000000..a2d9664e8910 --- /dev/null +++ b/sys-apps/sg3_utils/sg3_utils-1.22.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2006 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.22.ebuild,v 1.1 2006/10/24 03:38:10 vapier Exp $ + +inherit eutils + +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="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" +DEPEND="sys-devel/libtool" +RDEPEND="" + +src_unpack() { + unpack ${P}.tgz + cd "${S}" + epatch "${FILESDIR}"/${PN}-llseek.patch + for i in Makefile utils/Makefile ; do + sed -i \ + -e '/^CFLAGS/s:= -g -O2:+=:' \ + -e '/^LDFLAGS/s:=:+=:' \ + -e '/^PREFIX=/s:/local::' \ + -e 's:$(DESTDIR)/:$(DESTDIR):' \ + -e "/^LIBDIR=/s:/lib$:/$(get_libdir):" \ + -e '/^MANDIR=/s:)/man:)/share/man:' \ + -e '/ install /s: -s : :' \ + $i || die "sed of $i failed" + done +} + +src_compile() { + emake || die "emake failed" + emake -C utils || die "emake utils failed" +} + +src_install() { + dobin "${DISTDIR}"/rescan-scsi-bus.sh || die "rescan-scsi-bus.sh failed" + dodoc examples/*.txt CHANGELOG COVERAGE CREDITS README* + dohtml doc/*html + make install DESTDIR="${D}" || die "make install failed" + make -C utils install DESTDIR="${D}" || die "make install failed" +} |