diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-backup/rear/rear-1.17.1.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-backup/rear/rear-1.17.1.ebuild')
-rw-r--r-- | app-backup/rear/rear-1.17.1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-backup/rear/rear-1.17.1.ebuild b/app-backup/rear/rear-1.17.1.ebuild new file mode 100644 index 000000000000..2aa812a47a1a --- /dev/null +++ b/app-backup/rear/rear-1.17.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils + +DESCRIPTION="A setup-and-forget Linux bare metal disaster recovery solution" +HOMEPAGE="http://relax-and-recover.org/" +MY_PV=${PV%.*} +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="libressl udev" + +RDEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + net-dialup/mingetty + net-fs/nfs-utils + sys-apps/gawk + sys-apps/iproute2 + sys-apps/lsb-release + sys-apps/util-linux + sys-block/parted + sys-boot/syslinux + virtual/cdrtools + udev? ( virtual/udev ) +" + +src_compile () { :; } + +src_install () { + # Deploy udev USB rule and udev will autostart ReaR workflows in case a USB + # drive with the label 'REAR_000' is connected, which in turn is the + # default label when running the `rear format` command. + if use udev ; then + insinto /lib/udev/rules.d + doins etc/udev/rules.d/62-${PN}-usb.rules + fi + + # Copy main script-file and documentation. + dosbin usr/sbin/${PN} + doman doc/${PN}.8 + dodoc README + + # Copy configurations files. + insinto /etc + doins -r etc/${PN}/ + + insinto /usr/share/ + doins -r usr/share/${PN}/ +} |