2018-02-16 00:00:19 +01:00
|
|
|
# Copyright 1999-2018 Gentoo Foundation
|
2016-05-17 23:47:12 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2016-09-01 23:46:11 +02:00
|
|
|
EAPI="6"
|
2016-05-17 23:47:12 +02:00
|
|
|
|
2016-05-18 01:24:36 +02:00
|
|
|
inherit eutils mono-env
|
2016-05-17 23:47:12 +02:00
|
|
|
|
2016-05-18 01:24:36 +02:00
|
|
|
DESCRIPTION="A backup client that securely stores encrypted, incremental, compressed backups."
|
2016-05-17 23:47:12 +02:00
|
|
|
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"
|
2016-05-17 23:47:12 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
CDEPEND=""
|
2016-05-18 00:47:51 +02:00
|
|
|
DEPEND=">=dev-lang/mono-4.4.0.40"
|
2016-05-17 23:47:12 +02:00
|
|
|
RDEPEND=""
|
|
|
|
|
2016-05-18 01:27:42 +02:00
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/${P}-filenames-casesensitive.patch"
|
2016-05-24 00:52:25 +02:00
|
|
|
"${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
|
|
|
|
2016-05-24 00:55:46 +02:00
|
|
|
MY_MAKE_DIR="${S}/Installer/Makefile"
|
|
|
|
|
2016-05-18 00:31:56 +02:00
|
|
|
src_compile() {
|
2016-05-24 00:55:46 +02:00
|
|
|
cd "${MY_MAKE_DIR}"
|
2016-05-24 00:52:25 +02:00
|
|
|
emake translations
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2016-05-24 00:55:46 +02:00
|
|
|
cd "${MY_MAKE_DIR}"
|
2016-05-24 00:52:25 +02:00
|
|
|
emake package
|
2016-05-17 23:47:12 +02:00
|
|
|
}
|