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

43 lines
839 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils mono-env
MY_PV="2.0.1.30-2.0.1.30_experimental_2016-11-03"
DESCRIPTION="A backup client that securely stores encrypted, incremental, compressed backups."
HOMEPAGE="http://www.duplicati.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS=""
CDEPEND="dev-dotnet/atk-sharp
dev-dotnet/gdk-sharp
dev-dotnet/glib-sharp
dev-dotnet/gtk-sharp"
DEPEND="${CDEPEND}
>=dev-lang/mono-4.4.0.40"
RDEPEND=""
PATCHES=(
"${FILESDIR}/${P}-fix-Makefile.patch"
)
MY_MAKE_DIR="${S}/Installer/Makefile"
src_compile() {
cd "${MY_MAKE_DIR}"
emake build
}
src_install() {
cd "${MY_MAKE_DIR}"
emake package
}