diff options
author | Sam James <sam@gentoo.org> | 2021-03-13 17:58:08 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-13 18:24:16 +0000 |
commit | 4a0f3655bf4fca4810ae519af7752dd1737b80c1 (patch) | |
tree | b1e4125879943a9cb2a2565eeb4a000a20c44f3f /dev-util/libabigail | |
parent | sys-apps/gnome-disk-utility: Version bump to 3.38.2 (diff) | |
download | gentoo-4a0f3655bf4fca4810ae519af7752dd1737b80c1.tar.gz gentoo-4a0f3655bf4fca4810ae519af7752dd1737b80c1.tar.bz2 gentoo-4a0f3655bf4fca4810ae519af7752dd1737b80c1.zip |
dev-util/libabigail: add 1.8.2
Closes: https://bugs.gentoo.org/762508
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/libabigail')
-rw-r--r-- | dev-util/libabigail/Manifest | 1 | ||||
-rw-r--r-- | dev-util/libabigail/libabigail-1.8.2.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest index dae358440b5e..9126c5338b59 100644 --- a/dev-util/libabigail/Manifest +++ b/dev-util/libabigail/Manifest @@ -1 +1,2 @@ DIST libabigail-1.6.tar.gz 176133766 BLAKE2B 4a8fd6861f2213f45bbc5814a8a4e0941c236660ea6f84f09eedf6c08eff963c956f27967581501cd73b51057c3d36a74d53b6bf63d0be4d2c931d465d0564eb SHA512 2ba775bd836b53265dae60e66065fc2106e7f633e890cc70b6abacb8426e04ec0b7b38593c21336f5785cf5e4eb8d110fb15ce63124cddc59f660f31c7b25b3c +DIST libabigail-1.8.2.tar.gz 258919334 BLAKE2B 6e06c888dcc3f5e0fc5d4046e69f14ba06b3a78206f89e32e4687b07aae1e1d798582285cff5ac9f43d6ba326fe11ec11552eefb5ed05813c25785e337092ba2 SHA512 fa8edaf39632e26430481f15e962a098459eac087074e85ca055293ba324ec5944c45880fcb36f1c54a64652605a439cbf9247dfea9bfd3ec502cc7292dd1c8d diff --git a/dev-util/libabigail/libabigail-1.8.2.ebuild b/dev-util/libabigail/libabigail-1.8.2.ebuild new file mode 100644 index 000000000000..65225b855535 --- /dev/null +++ b/dev-util/libabigail/libabigail-1.8.2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit autotools python-any-r1 out-of-source + +DESCRIPTION="Suite of tools for checking ABI differences between ELF objects" +HOMEPAGE="https://sourceware.org/libabigail/" +SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/elfutils:= + dev-libs/libxml2:2=" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + app-doc/doxygen + dev-python/sphinx + sys-apps/texinfo + ) + test? ( ${PYTHON_DEPS} )" + +src_prepare() { + default + # need to run our autotools, due to ltmain.sh including Redhat calls: + # cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No such file or directory + eautoreconf +} + +my_src_configure() { + econf \ + --disable-deb \ + --disable-fedabipkgdiff \ + --disable-rpm \ + --disable-static \ + --disable-zip-archive \ + --enable-bash-completion \ + --enable-cxx11 \ + --enable-python3 \ + $(use_enable doc apidoc) \ + $(use_enable doc manual) +} + +my_src_compile() { + default + use doc && emake doc +} + +my_src_install() { + emake DESTDIR="${D}" install + + if use doc; then + doman doc/manuals/man/* + doinfo doc/manuals/texinfo/abigail.info + + dodoc -r doc/manuals/html + + docinto html/api + dodoc -r doc/api/html/. + fi +} + +my_src_install_all() { + einstalldocs + + # no static archives + find "${D}" -name '*.la' -delete || die +} |