mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
28 lines
662 B
Bash
28 lines
662 B
Bash
# Copyright 2017-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Libraries to write tests in C, C++ and shell"
|
|
HOMEPAGE="https://github.com/freebsd/atf"
|
|
SRC_URI="https://github.com/freebsd/atf/releases/download/${P}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
|
|
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
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
|
|
}
|