app-arch/cpio: Sync with Gentoo

It's from Gentoo commit 226fcb9d41b4be413a80adac41ddcf090f260bae.
This commit is contained in:
Flatcar Buildbot 2024-01-29 07:10:10 +00:00 committed by Krzesimir Nowak
parent 834430ca55
commit 9c02cf0006

View File

@ -3,6 +3,8 @@
EAPI=8
inherit multiprocessing
DESCRIPTION="File archival tool which can also read and write tar files"
HOMEPAGE="https://www.gnu.org/software/cpio/cpio.html"
SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"
@ -39,6 +41,10 @@ src_configure() {
econf "${myeconfargs[@]}"
}
src_test() {
emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
}
pkg_postinst() {
# Ensure to preserve the symlink before app-alternatives/cpio
# is installed