diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-07-04 06:35:58 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-07-04 06:35:58 +0000 |
commit | a966d5766ec39ae383122905c96dffcecaef02dd (patch) | |
tree | 5710ae08c3a01ca6a89ecc00863af0cfae4719b5 /app-backup/mondo-rescue/mondo-rescue-1.61.ebuild | |
parent | Moved net-misc/rsnapshot to app-backup/rsnapshot (diff) | |
download | gentoo-2-a966d5766ec39ae383122905c96dffcecaef02dd.tar.gz gentoo-2-a966d5766ec39ae383122905c96dffcecaef02dd.tar.bz2 gentoo-2-a966d5766ec39ae383122905c96dffcecaef02dd.zip |
Moved from sys-apps/mondo-rescue to app-backup/mondo-rescue.
Diffstat (limited to 'app-backup/mondo-rescue/mondo-rescue-1.61.ebuild')
-rw-r--r-- | app-backup/mondo-rescue/mondo-rescue-1.61.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-backup/mondo-rescue/mondo-rescue-1.61.ebuild b/app-backup/mondo-rescue/mondo-rescue-1.61.ebuild new file mode 100644 index 000000000000..f5b69c2c8bff --- /dev/null +++ b/app-backup/mondo-rescue/mondo-rescue-1.61.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/mondo-rescue/mondo-rescue-1.61.ebuild,v 1.1 2005/07/04 06:35:58 robbat2 Exp $ + +DESCRIPTION="a nice backup tool" +SRC_URI="http://www.microwerks.net/~hugo/download/stable/final/${PN/-rescue/}-${PV}.tgz" +HOMEPAGE="http://www.microwerks.net/~hugo/download.html" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=app-arch/afio-2.4.7 + >=sys-apps/mindi-0.80 + >=app-arch/bzip2-1.0.1 + >=app-cdr/cdrtools-1.10 + >=sys-libs/ncurses-5.2 + >=sys-libs/slang-1.4.4 + >=dev-libs/lzo-1.07 + >=app-arch/lzop-1.00 + >=dev-libs/newt-0.50 + >=sys-boot/syslinux-1.7" +S=${WORKDIR}/${PN/-rescue/}-${PV} + +src_compile() { + econf || die "econf failed" + emake || die "make failed" +} + +src_install() { + dodir /usr/share/mondo + dodir /usr/bin + + cp -f mondoarchive mondorestore mondo/mondo-makefilelist mondo/autorun mondo/restore-scripts.tgz ${D}/usr/share/mondo + + dosym /usr/share/mondo/mondoarchive /usr/bin/mondoarchive + dosym /usr/share/mondo/mondorestore /usr/bin/mondorestore + dosym /usr/share/mondo/mondo-makefilelist /usr/bin/mondo-makefilelist + + dodir /usr/share/doc/mondo-${PV} + + cp -pRdf mondo/docs/en/* ${D}/usr/share/doc/mondo-${PV} + + dodir /usr/share/man/man1 + cp -f mondoarchive.1 ${D}/usr/share/man/man1 + +} + +pkg_postinst() { + einfo + einfo "Installation notes:" + einfo "1) /boot must be mounted before running mondo" + einfo " (/etc/fstab does not automount it by default)" + einfo "2) make a symlink \"ln -s /boot/grub/menu.lst /etc/grub.conf\"" + einfo " as mondo wants to have a /etc/grub.conf file" + einfo "3) when doing a system backup be sure to use" + einfo " \"-E ${DISTDIR}\" because otherwise" + einfo " all source files will be included into the backup" + einfo +} |