diff options
Diffstat (limited to 'dev-util/libabigail')
-rw-r--r-- | dev-util/libabigail/Manifest | 2 | ||||
-rw-r--r-- | dev-util/libabigail/libabigail-1.8.2.ebuild | 77 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest index 8c4f14544dd7..b8cb5d431a58 100644 --- a/dev-util/libabigail/Manifest +++ b/dev-util/libabigail/Manifest @@ -1,3 +1,5 @@ DIST libabigail-1.6.tar.gz 176133766 BLAKE2B 4a8fd6861f2213f45bbc5814a8a4e0941c236660ea6f84f09eedf6c08eff963c956f27967581501cd73b51057c3d36a74d53b6bf63d0be4d2c931d465d0564eb SHA512 2ba775bd836b53265dae60e66065fc2106e7f633e890cc70b6abacb8426e04ec0b7b38593c21336f5785cf5e4eb8d110fb15ce63124cddc59f660f31c7b25b3c +DIST libabigail-1.8.2.tar.gz 258919334 BLAKE2B 6e06c888dcc3f5e0fc5d4046e69f14ba06b3a78206f89e32e4687b07aae1e1d798582285cff5ac9f43d6ba326fe11ec11552eefb5ed05813c25785e337092ba2 SHA512 fa8edaf39632e26430481f15e962a098459eac087074e85ca055293ba324ec5944c45880fcb36f1c54a64652605a439cbf9247dfea9bfd3ec502cc7292dd1c8d EBUILD libabigail-1.6.ebuild 1505 BLAKE2B eaf813c7f56b0d703e03ae350885ed6beb54fa7dd08bc62eb58c7b935d4d4a9857f7c8f0e130ee74334bb52c1f967e334d835922ea52569f435df5857276adbf SHA512 5b6db24c5a22f369675f0a1e308ad42b4e79940a8e632503c28f43c528051227a2cb808e050c2cc5918fc519002bedcabb3f8a745bc7c3a125596650a57b84d4 +EBUILD libabigail-1.8.2.ebuild 1505 BLAKE2B 01be3d9285ee4fc4d4c6b507f43db1c2fcd3bd1c8b57b41ef6027da7904c6cac3c8caccee93681675a6a17be521fe761a806c4ce91f2d0409051e10d4514f14e SHA512 dcf3d5792b3eda9aaa842737e8de88cb9be6cde9755c3edee35070e1176a11068c3a26461ac27e09bc13cfa6d8e633e0fc3643e6d27c3585f961799bf1ee517d MISC metadata.xml 244 BLAKE2B bd2c6209566a4936a38d9109a9a533aa1669dd50701ff8a96d2a65411aa692517ab70cafd98afcad7058979d62f1a7ac796c5b99a520c0f6ca1ed92cf9e0e207 SHA512 57959095dc10704e073e5517ac49ceee80e42fb1cc3f26b1b7308f872ffda810ce42e0b80ea6da57faa7a759878a9b8d2476fe351fecac1450f9c83751802787 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 +} |