sys-block/partclone: add 0.3.38

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2025-10-21 19:52:59 +03:00
parent 16d4a2be06
commit fe3ca42e6d
2 changed files with 97 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST partclone-0.3.37.tar.gz 1618078 BLAKE2B a90e233602e96c372d113d4407a1cd5bd42a77d34cf9a0f8ca3d0c93da94b5c7094adebe1f7beebe11bffe15b27408bb65f7d47dfd9fac3696833db5e938dc3c SHA512 e3bdc2d4de45375f19cc5d42c84c22c46fb6f9b88b961b8f3622e5666caad0222be2c96bc62c5f4c0ac28d7a8e080697b19feefe3fe6d73a40e6683d61d98ce1
DIST partclone-0.3.38.tar.gz 1619526 BLAKE2B d57c122622ca571d6020667db70b7e44291aa9a1c02b04ad9d94e471e68e1a620e4ccde24b2edfa9a44678a4b1a9888107050f571683547fe0c7c42c354582d1 SHA512 fd27ebea6f46c5f127db2deef6a9fadd51248ec0dbe6094d438d8e17d8daa4dd0b7985dd2f7c57e4f15f20bc827e33c58bacac48d8c2921d3602d9849aef1cf8

View File

@@ -0,0 +1,96 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
if [[ -z ${PV%%*9999} ]]; then
EGIT_REPO_URI="https://github.com/Thomas-Tsai/${PN}.git"
inherit git-r3
else
[[ -n ${PV%%*_p*} ]] && MY_PV="${PV}"
SRC_URI="
https://github.com/Thomas-Tsai/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Partition cloning tool"
HOMEPAGE="https://partclone.org"
LICENSE="GPL-2"
SLOT="0"
IUSE="apfs btrfs +e2fs exfat f2fs fat fuse hfs minix ncurses nilfs2 ntfs"
IUSE+=" reiserfs static test ufs vmfs xfs"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/openssl:0=
e2fs? ( sys-fs/e2fsprogs )
btrfs? ( sys-apps/util-linux )
fuse? ( sys-fs/fuse:3 )
ncurses? ( sys-libs/ncurses:0= )
nilfs2? ( sys-fs/nilfs-utils )
ntfs? ( sys-fs/ntfs3g )
reiserfs? ( sys-fs/progsreiserfs )
xfs? ( sys-apps/util-linux )
static? (
dev-libs/openssl:0[static-libs]
e2fs? ( sys-fs/e2fsprogs[static-libs] )
btrfs? ( sys-apps/util-linux[static-libs] )
fuse? ( sys-fs/fuse:0[static-libs] )
ncurses? ( sys-libs/ncurses:0[static-libs] )
nilfs2? ( sys-fs/nilfs-utils[static-libs] )
ntfs? ( sys-fs/ntfs3g[static-libs] )
reiserfs? ( sys-fs/progsreiserfs[static-libs] )
)
"
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-fix-ncurses-linking.patch
)
DOCS=(
AUTHORS
ChangeLog
HACKING
NEWS
README.md
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable e2fs extfs)
$(use_enable apfs)
$(use_enable btrfs)
$(use_enable exfat)
$(use_enable f2fs)
$(use_enable fat)
$(use_enable fuse)
$(use_enable hfs hfsp)
$(use_enable minix)
$(use_enable ncurses ncursesw)
$(use_enable nilfs2)
$(use_enable ntfs)
$(use_enable reiserfs)
$(use_enable test fs-test)
$(use_enable static)
$(use_enable vmfs)
$(use_enable ufs)
$(use_enable xfs)
--disable-jfs
--disable-reiser4
)
econf "${myconf[@]}"
}