summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-30 23:14:35 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-30 23:14:35 +0000
commit65ff9109d975303a292ac9e7acd38261c91079cc (patch)
tree984b1519ba60a35ae6d27439329dcf5b4f984668 /sys-apps/raidtools
parentPrepared for rc3 (diff)
downloadhistorical-65ff9109d975303a292ac9e7acd38261c91079cc.tar.gz
historical-65ff9109d975303a292ac9e7acd38261c91079cc.tar.bz2
historical-65ff9109d975303a292ac9e7acd38261c91079cc.zip
Prepared for rc3
Diffstat (limited to 'sys-apps/raidtools')
-rw-r--r--sys-apps/raidtools/raidtools-0.90-r1.ebuild30
1 files changed, 15 insertions, 15 deletions
diff --git a/sys-apps/raidtools/raidtools-0.90-r1.ebuild b/sys-apps/raidtools/raidtools-0.90-r1.ebuild
index 7ba301b7da85..bb6b98a3bb6b 100644
--- a/sys-apps/raidtools/raidtools-0.90-r1.ebuild
+++ b/sys-apps/raidtools/raidtools-0.90-r1.ebuild
@@ -1,19 +1,20 @@
# 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-r1.ebuild,v 1.5 2000/10/29 20:35:22 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/raidtools/raidtools-0.90-r1.ebuild,v 1.6 2000/11/30 23:14:34 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=">=sys-libs/glibc-2.1.3"
src_compile() {
try ./configure
cp Makefile Makefile.orig
sed -e "s/-O2//" -e "s/-g//" Makefile.orig > Makefile
- try make
+ try pmake
}
src_install() {
@@ -25,23 +26,22 @@ src_install() {
done
dosym mkraid /sbin/raid0run
doman *.8 *.5
- dodoc COPYING README Software-RAID.HOWTO/Software-RAID.HOWTO.txt
+ dodoc COPYING README
+ docinto txt
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.txt
docinto html
- dodoc Software-RAID.HOWTO/*.html
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.html
+ docinto sgml
+ dodoc Software-RAID.HOWTO/Software-RAID.HOWTO.sgml
+
docinto config
dodoc *.sample
-}
-pkg_postinst() {
- echo "Creating Raid-devices..."
-
- . ${ROOT}/etc/rc.d/config/functions
- einfo "Creating Raid-devices..."
+ dodir /dev
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
- if [ ! -e ${ROOT}/dev/md$$i ]
- then
- mknod -m 0600 ${ROOT}/dev/md$$i b 9 $$i
- fi
- done
+ mknod -m 0600 ${D}/dev/md$i b 9 $i
+ done
+
}
+