blob: 5da182153875e456dab0d4c1256e96f370a4ef78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit eutils flag-o-matic
DESCRIPTION="Library to deal with DWARF Debugging Information Format"
HOMEPAGE="https://github.com/Distrotech/libdwarf"
SRC_URI="https://github.com/Distrotech/${PN}/archive/${PV}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}/${PN}"
# dirty hack, since I can't properly patch buildsystem
QA_PREBUILT="*/${PN}.so"
src_configure() {
econf --enable-shared
}
src_install() {
dolib.a libdwarf.a || die
dolib.so libdwarf.so || die
insinto /usr/include
doins libdwarf.h || die
dodoc NEWS README CHANGES || die
}
|