1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{7,8} )
8 inherit autotools python-any-r1 out-of-source
10 DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
11 HOMEPAGE="https://sourceware.org/libabigail/"
12 SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.gz"
18 RESTRICT="!test? ( test )"
30 test? ( ${PYTHON_DEPS} )"
34 # need to run our autotools, due to ltmain.sh including Redhat calls:
35 # cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No such file or directory
42 --disable-fedabipkgdiff \
45 --disable-zip-archive \
46 --enable-bash-completion \
49 $(use_enable doc apidoc) \
50 $(use_enable doc manual)
59 emake DESTDIR="${D}" install
62 doman doc/manuals/man/*
63 doinfo doc/manuals/texinfo/abigail.info
65 dodoc -r doc/manuals/html
68 dodoc -r doc/api/html/.
72 my_src_install_all() {
76 find "${D}" -name '*.la' -delete || die