mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
sys-block/partclone: add 0.3.49
Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
2 files changed
+148
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST partclone-0.3.47.tar.gz 1656636 BLAKE2B 1d2c1d1f215bb98964fbded290894f60b5c3261b9190b7e90b4b70e3254eeb864a57035f7b3af0e3b5efed1b5cf304d851588f0610c8cb4fa95effb13bba8ff4 SHA512 acad16e894091c95f9318eba27984a7483278b6aef7d658d84719b5d2d3550df1d15f5655f62bb9e1d014440b0ffcebf8626f27d44afe97d55ff26cb2bcbe3a9
|
||||
DIST partclone-0.3.48.tar.gz 1659076 BLAKE2B ee575e71ca5b47b89fcdf70607a0a2f1f6f0d9be684678a3d4e435638da76054b0bd724f768365705331931d80305805a7e8dfc1d998c295d976e299a289c6dd SHA512 dc097345501ef05a594995bb3ff35ce1a0c5d9a9d5aaa6ad11e5e53b0608b31e2ef72897a4d4c19ac3d561dd852199ab5ac3fe2a6b24d083aa4f1137cdc5b358
|
||||
DIST partclone-0.3.49.tar.gz 1669878 BLAKE2B a9a5540127eeb5a01ea5f8e3a331fd66f39dacc73ad408568071211699291c2efe421925a6401a55d1e73a1d56a7f52321f8557871df2203033619f38b77f259 SHA512 1653b585f0f90cf9633c582c3ae518ea179d9d926b138f43c3f519b91e0933be6f1a218881080d8ba6669ef644f07ed5dad20eb21eaa142af53b2cb01c394056
|
||||
@@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools shell-completion
|
||||
|
||||
DESCRIPTION="Partition cloning tool"
|
||||
HOMEPAGE="https://partclone.org"
|
||||
SRC_URI="https://github.com/Thomas-Tsai/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="apfs btrfs +e2fs exfat f2fs fat fuse hfs minix ncurses nilfs2 ntfs"
|
||||
IUSE+=" reiserfs static test ufs vmfs xfs"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="static? ( !fuse )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/zstd:=
|
||||
dev-libs/isa-l
|
||||
dev-libs/openssl:0=
|
||||
sys-apps/util-linux
|
||||
virtual/zlib:=
|
||||
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? ( dev-libs/userspace-rcu )
|
||||
static? (
|
||||
app-arch/zstd:=[static-libs]
|
||||
dev-libs/openssl:0[static-libs]
|
||||
virtual/zlib:=[static-libs]
|
||||
e2fs? ( sys-fs/e2fsprogs[static-libs] )
|
||||
btrfs? ( sys-apps/util-linux[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] )
|
||||
xfs? ( dev-libs/userspace-rcu[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
dev-libs/xxhash
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-fix-ncurses-linking.patch
|
||||
"${FILESDIR}"/${PN}-completions.patch
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
HACKING
|
||||
NEWS
|
||||
README.md
|
||||
)
|
||||
|
||||
CMDS=(
|
||||
apfs
|
||||
btrfs
|
||||
chkimg
|
||||
dd
|
||||
exfat
|
||||
ext2
|
||||
ext3
|
||||
ext4
|
||||
ext4dev
|
||||
extfs
|
||||
f2fs
|
||||
fat
|
||||
fat12
|
||||
fat16
|
||||
fat32
|
||||
hfs+
|
||||
hfsp
|
||||
hfsplus
|
||||
imager
|
||||
minix
|
||||
nilfs2
|
||||
ntfs
|
||||
reiser4
|
||||
restore
|
||||
vfat
|
||||
xfs
|
||||
)
|
||||
|
||||
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 static-linking)
|
||||
$(use_enable vmfs)
|
||||
$(use_enable ufs)
|
||||
$(use_enable xfs)
|
||||
--disable-jfs
|
||||
--disable-reiser4
|
||||
|
||||
$(usev static --disable-xxhash)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
newbashcomp "src/${PN}-completion" "${PN}"
|
||||
local cmd
|
||||
for cmd in "${CMDS[@]}"; do
|
||||
bashcomp_alias "${PN}" "${PN}.${cmd}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x TERM=dummy
|
||||
default
|
||||
}
|
||||
Reference in new issue
Block a user