summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua>2021-01-07 17:47:08 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-28 09:36:21 +0200
commita28e5d6f74949257e2bb69bc1f060a1d448b1bd5 (patch)
tree7cbfac82f98c8d8b28635e1923621e9be744f922 /app-backup
parentapp-backup/zbackup: cmake eclass, EAPI 7 for live ebuild (diff)
downloadgentoo-a28e5d6f74949257e2bb69bc1f060a1d448b1bd5.tar.gz
gentoo-a28e5d6f74949257e2bb69bc1f060a1d448b1bd5.tar.bz2
gentoo-a28e5d6f74949257e2bb69bc1f060a1d448b1bd5.zip
app-backup/zbackup: cmake eclass, EAPI 7
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua> Closes: https://github.com/gentoo/gentoo/pull/18977 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/zbackup/zbackup-1.4.4-r2.ebuild34
-rw-r--r--app-backup/zbackup/zbackup-9999.ebuild4
2 files changed, 36 insertions, 2 deletions
diff --git a/app-backup/zbackup/zbackup-1.4.4-r2.ebuild b/app-backup/zbackup/zbackup-1.4.4-r2.ebuild
new file mode 100644
index 000000000000..94426b77ed33
--- /dev/null
+++ b/app-backup/zbackup/zbackup-1.4.4-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A versatile deduplicating backup tool"
+HOMEPAGE="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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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_src_configure
+}
diff --git a/app-backup/zbackup/zbackup-9999.ebuild b/app-backup/zbackup/zbackup-9999.ebuild
index a6bfc74d2f13..3a15bb4c1138 100644
--- a/app-backup/zbackup/zbackup-9999.ebuild
+++ b/app-backup/zbackup/zbackup-9999.ebuild
@@ -11,15 +11,15 @@ SRC_URI=""
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
LICENSE="GPL-2+-with-openssl-exception"
-KEYWORDS=""
SLOT="0"
+KEYWORDS=""
IUSE="libressl tartool"
DEPEND="app-arch/lzma
dev-libs/lzo:2
dev-libs/protobuf:0=
sys-libs/libunwind:=
- sys-libs/zlib:=
+ sys-libs/zlib
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )"
RDEPEND="${DEPEND}"