mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-libs/libdwarf: add 2.0.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
47
dev-libs/libdwarf/libdwarf-2.0.0.ebuild
Normal file
47
dev-libs/libdwarf/libdwarf-2.0.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="The DWARF Debugging Information Format"
|
||||
HOMEPAGE="
|
||||
https://www.prevanders.net/dwarf.html
|
||||
https://dwarfstd.org/
|
||||
https://github.com/davea42/libdwarf-code
|
||||
"
|
||||
SRC_URI="https://www.prevanders.net/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test dwarfexample dwarfgen"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/zstd:=
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.9.2-fix-include-patch.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED=ON
|
||||
-DBUILD_DWARFGEN=$(usex dwarfgen)
|
||||
-DBUILD_DWARFEXAMPLE=$(usex dwarfexample)
|
||||
-DDO_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install(){
|
||||
cmake_src_install
|
||||
|
||||
dodoc ChangeLog* doc/*.pdf
|
||||
}
|
||||
Reference in New Issue
Block a user