summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2017-12-25 16:46:45 +0200
committerCraig Andrews <candrews@gentoo.org>2017-12-28 10:09:26 -0500
commit79beb6e635f341caa36e977af5590948c3a03b67 (patch)
treece5ff1e4ba6b097f0f10925ce8e44a34eac73fb4 /app-backup
parentapp-arch/pure-sfv: Port to EAPI 6 (diff)
downloadgentoo-79beb6e635f341caa36e977af5590948c3a03b67.tar.gz
gentoo-79beb6e635f341caa36e977af5590948c3a03b67.tar.bz2
gentoo-79beb6e635f341caa36e977af5590948c3a03b67.zip
app-backup/zbackup: relax protobuf dependency (wrt #621362)
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/zbackup/zbackup-1.4.4-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-backup/zbackup/zbackup-1.4.4-r1.ebuild b/app-backup/zbackup/zbackup-1.4.4-r1.ebuild
new file mode 100644
index 000000000000..1371f7e56cf4
--- /dev/null
+++ b/app-backup/zbackup/zbackup-1.4.4-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A versatile deduplicating backup tool"
+HOMEPAGE="http://zbackup.org/ https://github.com/zbackup/zbackup"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+-with-openssl-exception"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="libressl tartool"
+
+DEPEND="app-arch/lzma
+ dev-libs/lzo:2
+ dev-libs/protobuf:0=
+ sys-libs/zlib
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+# Add tartool build
+PATCHES=( "${FILESDIR}/${P}-tartool.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TARTOOL="$(usex tartool)"
+ )
+
+ cmake-utils_src_configure
+}