libdwarf: install headers

This commit is contained in:
blshkv 2018-07-17 00:55:13 +08:00
parent b6a6a53638
commit f1d07e18a0
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F

View file

@ -0,0 +1,23 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="The DWARF Debugging Information Format"
HOMEPAGE="https://www.prevanders.net/dwarf.html"
SRC_URI="https://www.prevanders.net/alpha-${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="virtual/libelf"
RDEPEND="${DEPEND}"
src_install(){
emake DESTDIR="${D}" install
# doheader libdwarf/dwarf.h libdwarf/dwarf.h
insinto /usr/include/libdwarf
doins libdwarf/dwarf.h
}