diff options
Diffstat (limited to 'sys-fs/raidtools/raidtools-1.00.3-r1.ebuild')
-rw-r--r-- | sys-fs/raidtools/raidtools-1.00.3-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-fs/raidtools/raidtools-1.00.3-r1.ebuild b/sys-fs/raidtools/raidtools-1.00.3-r1.ebuild new file mode 100644 index 000000000000..048ba01074bc --- /dev/null +++ b/sys-fs/raidtools/raidtools-1.00.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/raidtools/raidtools-1.00.3-r1.ebuild,v 1.1 2003/09/15 17:46:25 seemant Exp $ + +DESCRIPTION="Linux RAID 0/1/4/5 utilities" +SRC_URI="http://people.redhat.com/mingo/raidtools/${P}.tar.gz" +HOMEPAGE="http://people.redhat.com/mingo/raidtools/" + +KEYWORDS="x86 amd64 ppc ~sparc hppa ~alpha" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc + dev-libs/popt" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/mkraid.c-gcc33.patch +} + +src_compile() { + econf || die + make CFLAGS="${CFLAGS} -DMD_VERSION=\\\"${P}\\\"" || die +} + +src_install() { + make install ROOTDIR=${D} || die + rm -rf ${D}/dev + + if [ -z "`use build`" ] + then + doman *.8 *.5 + dodoc README *raidtab raidreconf-HOWTO reconf.notes retry summary + dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt + dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.html + dohtml Software-RAID.HOWTO/Software-RAID.HOWTO.sgml + docinto config + dodoc *.sample + fi +} |