sys-block/partclone: add 0.3.36

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2025-04-21 10:56:25 +03:00
parent 7a81150e83
commit 9aa5501c84
2 changed files with 99 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST partclone-0.3.33.tar.gz 1613900 BLAKE2B ac72310950b3f9e894470e206e00e1e540b8e800c6ffba94f19f6e8a460630ba1caceab0c6646d0af1409ef64ab60565879d66006cf989b73906b8f9ef8ab888 SHA512 21b783e50dca290acc70a2afb305f886c9032d3cc04636fa0e678efeac787398a5a2f8e260f9969be51500ee14d005fdf2dd33b9198ad96ef55311a8a9954c62
DIST partclone-0.3.36.tar.gz 1617711 BLAKE2B 2f04fd6730e4ab958e0492462912ed20f7744a09a1497eb2073953b149d4898cf4e0122932ac8223de617f20e5be39fb8bee4794208a696f7ee4feb9e03e203a SHA512 22c5ee876536d9da71a93d238ef18a6b4b26f2b2c98f4c16f2d04f14ecab1d9b7374c92e7da0f7694797123a840a97e80f246eb99b47a38304f753d8313b5d8d

View File

@@ -0,0 +1,98 @@
# 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
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[@]}"
}