guru/sys-fs/ntfs2btrfs/ntfs2btrfs-20240115.ebuild
Mark Harmstone 54f4b064ff
sys-fs/ntfs2btrfs: add 20240115, drop 20230501
Signed-off-by: Mark Harmstone <mark@harmstone.com>
2024-01-16 02:02:44 +00:00

42 lines
838 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Conversion tool from NTFS to Btrfs"
HOMEPAGE="https://github.com/maharmstone/ntfs2btrfs"
if [[ ${PV} = *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/maharmstone/ntfs2btrfs.git"
else
SRC_URI="https://codeload.github.com/maharmstone/ntfs2btrfs/tar.gz/refs/tags/${PV} -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="+zlib +lzo +zstd"
DEPEND="dev-libs/libfmt
zlib? ( sys-libs/zlib )
lzo? ( dev-libs/lzo )
zstd? ( app-arch/zstd )"
RDEPEND="${DEPEND}"
src_prepare() {
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_ZLIB=$(usex zlib)
-DWITH_LZO=$(usex lzo)
-DWITH_ZSTD=$(usex zstd)
)
cmake_src_configure
}