commit: 37b0a4510c4cb110ecf773f23e0a670f8729abc6 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Jan 11 00:56:44 2025 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Jan 11 01:08:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b0a451
dev-libs/atf: add 0.22 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> dev-libs/atf/Manifest | 1 + dev-libs/atf/atf-0.22.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-libs/atf/Manifest b/dev-libs/atf/Manifest index 6d124f1bc3d2..8d80871d32de 100644 --- a/dev-libs/atf/Manifest +++ b/dev-libs/atf/Manifest @@ -1 +1,2 @@ DIST atf-0.21.tar.gz 567791 BLAKE2B e9449bb61008a91c10050462e84ff65c6fd88124db56ff3f6c149ff47fe8647fe8fe786cd7b1106cbfd62723a57ab613432323f266a93a4c86d8a6ab39bfcc0a SHA512 9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1 +DIST atf-0.22.tar.gz 196918 BLAKE2B 9dcd71d71daeb6a9364382d93972254c303599b61be2ae5126136ee5e00a6af1c8d9e7d5b25964f6a21edff7ce1e2bbad43e9ed5819d7dcfa0b83b55fa664750 SHA512 2bf2e8cb379aae6b435bfe9deb6d235c1641ec4ae9604fcfe9bb90324fd298b0ee7b7be2df3dd80cb140fe777936b239a14bab766b72a5a9862c1a463cea9455 diff --git a/dev-libs/atf/atf-0.22.ebuild b/dev-libs/atf/atf-0.22.ebuild new file mode 100644 index 000000000000..9bccce2933ff --- /dev/null +++ b/dev-libs/atf/atf-0.22.ebuild @@ -0,0 +1,37 @@ +# Copyright 2017-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Libraries to write tests in C, C++ and shell" +HOMEPAGE="https://github.com/freebsd/atf" +SRC_URI="https://github.com/freebsd/atf/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}/atf-${P}" + +LICENSE="BSD BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/atf-0.21-getopt-solaris.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + ATF_SHELL="${EPREFIX}/bin/sh" + ) + econf "${myconf[@]}" +} + +src_install() { + default + rm -r "${ED}"/usr/tests || die + find "${ED}" -name '*.la' -delete || die +}
