Files
guru/sys-fs/ntfs2btrfs/ntfs2btrfs-20250616.ebuild
Paul Zander f8844552b3 */*: Add := to dev-libs/libfmt deps, part 1
Done via:

```
git grep -l "${name}$" | xargs sed -i -e "s@${name}\$@&:=@"
```

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-11-18 18:04:25 +01:00

42 lines
846 B
Bash

# Copyright 2023-2025 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? ( virtual/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
}