gentoo-overlay/app-backup/duplicati/duplicati-1.3.4.ebuild

42 lines
817 B
Bash
Raw Normal View History

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
2016-05-18 01:24:36 +02:00
inherit eutils mono-env
2016-05-18 01:24:36 +02:00
DESCRIPTION="A backup client that securely stores encrypted, incremental, compressed backups."
HOMEPAGE="http://www.duplicati.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
2016-05-18 01:24:36 +02:00
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64"
CDEPEND=""
DEPEND=">=dev-lang/mono-4.4.0.40"
RDEPEND=""
2016-05-18 01:27:42 +02:00
PATCHES=(
"${FILESDIR}/${P}-filenames-casesensitive.patch"
"${FILESDIR}/${P}-remove-unsigned-backends.patch"
"${FILESDIR}/${P}-patch-Makefile.patch"
2016-05-18 01:27:42 +02:00
)
2016-05-18 00:31:56 +02:00
src_prepare() {
for p in "${PATCHES[@]}" ; do
2016-05-18 00:31:56 +02:00
epatch "${p}"
done
}
src_compile() {
cd ${S}/Installer/Makefile
emake translations
}
src_install() {
cd ${S}/Installer/Makefile
emake package
}