diff options
Diffstat (limited to 'sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild')
-rw-r--r-- | sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild b/sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild deleted file mode 100644 index 6fab3675a2ee..000000000000 --- a/sys-block/scsirastools/scsirastools-1.5.7-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit autotools epatch - -DESCRIPTION="Serviceability for SCSI Disks and Arrays" -HOMEPAGE="http://scsirastools.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -RDEPEND=">=sys-apps/sg3_utils-1.44" -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-sysmacros.patch #580214 - # this builds a really old mdadm - sed -i \ - -e '/RPMB/d' \ - -e '/^SUBDIRS/s,mdadm.d,,' \ - -e '/^SUBDIRS/s,files,,' \ - Makefile.am || die "sed Makefile.am failed" - epatch "${FILESDIR}"/${PN}-1.5.6-glibc-2.10.patch - eautoreconf - # i386 ELF binaries in tarball = bad - rm -f "${S}"/files/alarms* - - # Fix up /sbin instances to be /usr/sbin instead - for i in src/sgraidmon.c src/sgdiskmon.c ; do - sed -i "${S}"/${i} \ - -e '/evtcmd\[\].*\"\/sbin\//s,/sbin/,/usr/sbin/,' \ - || die "Failed to set /sbin in sources" - done -} - -src_configure() { - econf --sbindir=/usr/sbin -} - -src_install() { - into /usr - docdir="/usr/share/doc/${PF}/" - emake install DESTDIR="${D}" datato="${D}${docdir}" - dosbin files/sgevt - dosbin files/mdevt - # unneeded files - rm -f "${D}"${docdir}/{SCSIRAS,COPYING} - # install modepage files - insinto /usr/share/${PN} - doins files/*.mdf - # new docs - dodoc ChangeLog AUTHORS TODO -} |