# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="2" inherit flag-o-matic DESCRIPTION="Library to deal with DWARF Debugging Information Format" HOMEPAGE="http://reality.sgiweb.org/davea/dwarf.html" SRC_URI="http://reality.sgiweb.org/davea/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-libs/libelf" RDEPEND="${DEPEND}" S=${WORKDIR}/dwarf-${PV}/${PN} src_prepare() { append-cflags -fPIC || die } src_configure() { econf --enable-shared } src_install() { dolib.a libdwarf.a || die dolib.so libdwarf.so || die insinto /usr/include doins dwarf.h libdwarf.h || die dodoc NEWS README CHANGES || die }