diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-02-07 15:55:15 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-02-07 15:55:15 +0000 |
commit | 36d7d63fc8e533a54bc3008fe078d25b06cc0d55 (patch) | |
tree | bbf6a3f305a5e307e2b8b191680365bd8b5a23b2 /sys-apps/raidtools/raidtools-0.90-r2.ebuild | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.tar.gz gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.tar.bz2 gentoo-2-36d7d63fc8e533a54bc3008fe078d25b06cc0d55.zip |
Maintainence and FHS 2.1 fixes for RC4
Diffstat (limited to 'sys-apps/raidtools/raidtools-0.90-r2.ebuild')
-rw-r--r-- | sys-apps/raidtools/raidtools-0.90-r2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sys-apps/raidtools/raidtools-0.90-r2.ebuild b/sys-apps/raidtools/raidtools-0.90-r2.ebuild new file mode 100644 index 000000000000..186e2cd3e972 --- /dev/null +++ b/sys-apps/raidtools/raidtools-0.90-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/raidtools/raidtools-0.90-r2.ebuild,v 1.1 2001/02/07 15:51:28 achim Exp $ + +P=raidtools-0.90-1 +A=raidtools-dangerous-0.90-20000116.tar.gz +S=${WORKDIR}/raidtools-0.90 +DESCRIPTION="Linux RAID 0/1/4/5 utilities" +SRC_URI="http://people.redhat.com/mingo/raid-patches/${A}" +DEPEND="virtual/glibc" + +src_compile() { + + try ./configure + cp Makefile Makefile.orig + sed -e "s/-O2//" -e "s/-g//" Makefile.orig > Makefile + try pmake + +} + +src_install() { + + into / + dosbin mkraid raidstart mkpv + for x in raidstop raidhotadd raidhotremove raidsetfaulty + do + dosym raidstart /sbin/${x} + done + dosym mkraid /sbin/raid0run + doman *.8 *.5 + + dodoc COPYING README + docinto txt + dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt + docinto html + dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.html + docinto sgml + dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.sgml + + docinto config + dodoc *.sample + + dodir /dev + for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 + do + mknod -m 0600 ${D}/dev/md$i b 9 $i + done + +} + |