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

38 lines
770 B
Bash
Raw Normal View History

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
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
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}"
emake translations
}
src_install() {
2016-05-24 00:55:46 +02:00
cd "${MY_MAKE_DIR}"
emake package
}