diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-02 12:04:49 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-02 12:05:34 +0100 |
commit | ab5ea3508f1a539c0fab52d731ecf6fdb7bc9020 (patch) | |
tree | aa8fa1fcde9fad5bf8e06c65e2fe3f9944f9bbc0 /app-backup/backup-manager/backup-manager-0.7.13.ebuild | |
parent | sci-chemistry/coot: Depend on guile-1 as workaround (diff) | |
download | gentoo-ab5ea3508f1a539c0fab52d731ecf6fdb7bc9020.tar.gz gentoo-ab5ea3508f1a539c0fab52d731ecf6fdb7bc9020.tar.bz2 gentoo-ab5ea3508f1a539c0fab52d731ecf6fdb7bc9020.zip |
app-backup/backup-manager: 0.7.13 bump
Bugfix release, also adds xz/lzma support
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-backup/backup-manager/backup-manager-0.7.13.ebuild')
-rw-r--r-- | app-backup/backup-manager/backup-manager-0.7.13.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/app-backup/backup-manager/backup-manager-0.7.13.ebuild b/app-backup/backup-manager/backup-manager-0.7.13.ebuild new file mode 100644 index 000000000000..43846112f287 --- /dev/null +++ b/app-backup/backup-manager/backup-manager-0.7.13.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |