summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/mondo/mondo-2.2.1.ebuild')
-rw-r--r--app-backup/mondo/mondo-2.2.1.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/app-backup/mondo/mondo-2.2.1.ebuild b/app-backup/mondo/mondo-2.2.1.ebuild
new file mode 100644
index 0000000..417f506
--- /dev/null
+++ b/app-backup/mondo/mondo-2.2.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit libtool
+
+DESCRIPTION="The premier GPL disaster recovery solution."
+HOMEPAGE="http://www.mondorescue.org"
+SRC_URI="ftp://ftp.mondorescue.org/debian/3.1/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 -*"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=sys-libs/slang-1.4.1
+ >=dev-libs/newt-0.50"
+
+RDEPEND="app-arch/afio
+ sys-block/buffer
+ sys-devel/binutils
+ >=app-arch/bzip2-0.9
+ app-cdr/cdrtools
+ >=app-backup/mindi-1.0.9
+ >=sys-boot/syslinux-1.52
+ ${DEPEND}"
+
+S="${WORKDIR}/mondo-stable"
+
+src_compile() {
+ elibtoolize
+ econf
+ emake || die "Make failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ exeinto /usr/share/mondo
+ doexe mondo/autorun
+}
+
+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 a new version after a long gap."
+ 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
+ einfo "Prior to running mondo, ensure /boot is mounted."
+ ewarn "Grub users need to have a symlink like this:"
+ ewarn "ln -s /boot/grub/menu.lst /etc/grub.conf"
+ einfo "Unless you want to have mondo backup your distfiles,"
+ einfo "append \"-E ${DISTDIR}\" to your mondoarchive command."
+ echo
+}