## Copyright 1999-2011 Gentoo Foundatio2 # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="6" inherit eutils flag-o-matic DESCRIPTION="Library to deal with DWARF Debugging Information Format" HOMEPAGE="https://www.prevanders.net/dwarf.html" SRC_URI="https://www.prevanders.net/${PN}-${PV}.tar.gz" LICENSE="GPL-2 LGPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" S="${WORKDIR}/dwarf-${PV}/${PN}" # dirty hack, since I can't properly patch buildsystem #QA_PREBUILT="*/${PN}.so" src_unpack() { cp ../distdir/${A} . tar xvf ${A} } src_configure() { econf --enable-shared --disable-static } src_install() { dolib.so libdwarf.so || die dolib.so libdwarf.so.1 || die insinto /usr/include doins libdwarf.h || die dodoc NEWS README CHANGES || die }