summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-04-18 13:26:39 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2017-04-18 13:27:50 +0200
commite9f8c57668b080a8df89b557aac78762f9cda731 (patch)
tree57bfac98bb73ab2bae10d56114afbe59b9048dcc /app-backup
parentprofiles/arch/arm: unmask vpx useflag, libvpx is stable on arm (diff)
downloadgentoo-e9f8c57668b080a8df89b557aac78762f9cda731.tar.gz
gentoo-e9f8c57668b080a8df89b557aac78762f9cda731.tar.bz2
gentoo-e9f8c57668b080a8df89b557aac78762f9cda731.zip
app-backup/backup-manager: depend on perl subslot for updates
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/backup-manager/backup-manager-0.7.13-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-backup/backup-manager/backup-manager-0.7.13-r1.ebuild b/app-backup/backup-manager/backup-manager-0.7.13-r1.ebuild
new file mode 100644
index 000000000000..e1abc3a98897
--- /dev/null
+++ b/app-backup/backup-manager/backup-manager-0.7.13-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+MY_P=Backup-Manager-${PV}
+DESCRIPTION="Backup Manager is a command line backup tool for GNU/Linux"
+HOMEPAGE="https://github.com/sukria/Backup-Manager"
+SRC_URI="http://github.com/sukria/Backup-Manager/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="s3"
+
+DEPEND="dev-lang/perl:=
+ sys-devel/gettext"
+
+RDEPEND="${DEPEND}
+ s3? ( dev-perl/Net-Amazon-S3
+ dev-perl/File-Slurp )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -e "/^PERL5DIR/s/sitelib/vendorlib/" \
+ -e "/sed/s:=\$(DESTDIR)/:=:" \
+ -i Makefile || die
+
+ default
+}
+
+src_compile() {
+ default
+ emake -C po
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+
+ dodir /etc
+ cp -a "${D}"/usr/share/backup-manager/backup-manager.conf.tpl "${D}"/etc/backup-manager.conf || die
+ chmod 0600 "${D}"/etc/backup-manager.conf || die
+}