dev-libs/atf: add 0.22

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2025-01-10 19:56:44 -05:00
parent 6704a44544
commit 37b0a4510c
2 changed files with 38 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}