dev-libs/libdwarf: add 0.4.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-07-07 09:58:29 +02:00
parent 5faa5c2f63
commit a73d2a017d
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libdwarf-0.4.0.tar.xz 2380228 BLAKE2B ee9d02284740b3f4961299e2e4530c2934cde4defefebd8a8ca3aab232f0a18fc35d376c2f61ee323f7db7e6460a3f5e662781f8086438c287f716067c2b7594 SHA512 30e5c6c1fc95aa28a014007a45199160e1d9ba870b196d6f98e6dd21a349e9bb31bba1bd6817f8ef9a89303bed0562182a7d46fcbb36aedded76c2f1e0052e1e
DIST libdwarf-0.4.1.tar.xz 2410800 BLAKE2B 88753ebc2606fbcc7a41ea3db8f5bc1b41357705f7b4e21acb49c13d96f3741a7305b764ab973bc9ac0c6c4246b668f82d93886451d9963f4237a9ff47694429 SHA512 793fe487de80fe6878f022b90f49ec334a0d7db071ff22a11902db5e3457cc7f3f853945a9ac74de2c40f7f388277f21c5b2e62745bca92d2bb55c51e9577693

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="The DWARF Debugging Information Format"
HOMEPAGE="
https://www.prevanders.net/dwarf.html
https://www.dwarfstd.org
https://github.com/davea42/libdwarf-code
"
SRC_URI="https://www.prevanders.net/${P}.tar.xz"
LICENSE="LGPL-2.1 GPL-2 BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc dwarfexample dwarfgen +elf"
DEPEND="
sys-libs/zlib
elf? ( virtual/libelf:= )
"
RDEPEND="${DEPEND}"
BDEPEND="doc? ( app-doc/doxygen )"
src_configure() {
local emesonargs=(
$(meson_use dwarfgen)
$(meson_use dwarfexample)
$(meson_use doc)
$(meson_use elf libelf)
)
meson_src_configure
}
src_install(){
meson_src_install
dodoc AUTHORS README README.md ChangeLog* NEWS doc/*.pdf
if use doc; then
dodoc -r "${ED}/usr/share/doc/${PN}/html"
rm -r "${ED}/usr/share/doc/${PN}" || die
fi
}