blob: b30a77f1204d2abd42e3937be31f12c895232c9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mindi/mindi-1.04.ebuild,v 1.1 2005/01/22 10:29:25 wschlich Exp $
DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules."
HOMEPAGE="http://www.mondorescue.org/"
SRC_URI="http://www.mondorescue.org/download/MondoCD/TGZS/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 -*"
IUSE=""
DEPEND="virtual/libc"
RDEPEND=">=app-arch/bzip2-0.9
>=sys-apps/mindi-kernel-1.0-r1
app-cdr/cdrtools
sys-libs/ncurses
sys-devel/binutils
sys-fs/dosfstools
sys-apps/gawk"
src_unpack() {
unpack ${A} || die "Failed to unpack ${A}"
cd ${S}/rootfs || die
tar xzf symlinks.tgz || die "Failed to unpack symlinks.tgz"
# This will need to change when IA64 is tested. Onviously.
rm -f bin/busybox-ia64 sbin/parted2fdisk-ia64
mv bin/busybox-i386 bin/busybox
}
src_install() {
dodir /usr/sbin
dodir /usr/share/mindi
exeinto /usr/share/mindi
doexe analyze-my-lvm mindi parted2fdisk.pl
dosym /usr/share/mindi/mindi /usr/sbin/
dosym /usr/share/mindi/analyze-my-lvm /usr/sbin/
dosym /usr/share/mindi/parted2fdisk.pl /usr/sbin/
insinto /usr/share/mindi
doins deplist.txt dev.tgz isolinux-H.cfg isolinux.cfg \
msg-txt sys-disk.raw.gz syslinux-H.cfg syslinux.cfg
cp -a Mindi/ aux-tools/ rootfs/ ${D}/usr/share/mindi/
dodoc CHANGES INSTALL README TODO
}
pkg_postinst() {
einfo "${P} was successfully installed."
einfo "Please read the associated docs for help."
einfo "Or visit the website @ ${HOMEPAGE}"
echo
ewarn "This package is still in unstable."
ewarn "Please report bugs to http://bugs.gentoo.org/"
ewarn "However, please do an advanced query to search for bugs"
ewarn "before reporting. This will keep down on duplicates."
echo
}
|