You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-backup/zbackup/zbackup-1.4.4-r2.ebuild

34 lines
678 B

# 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="tartool"
DEPEND="app-arch/lzma
dev-libs/lzo:2
dev-libs/protobuf:0=
sys-libs/zlib
dev-libs/openssl:0="
RDEPEND="${DEPEND}"
# Add tartool build
PATCHES=( "${FILESDIR}/${P}-tartool.patch" )
src_configure() {
local mycmakeargs=(
-DBUILD_TARTOOL="$(usex tartool)"
)
cmake_src_configure
}