summaryrefslogtreecommitdiff
blob: 3c641ec68ff0ffb3bf9a4d4fcb0dbe870347ce50 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="3"

inherit multilib eutils

DESCRIPTION="Backtrace wrapper utility and library"
HOMEPAGE="http://www.nopcode.org/wk.php/stacktrace"
SRC_URI="http://kung-foo.net/killabyte/code/${PN}/${P}.tar.gz"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_prepare() {
	epatch "${FILESDIR}"/${P}-ldconfig-path.patch
}

src_install() {
	emake \
		DOCDIR="${D}"/usr/share/doc/${PF} \
		BINDIR="${D}"/usr/bin \
		INCDIR="${D}"/usr/include \
		LIBDIR="${D}"/usr/$(get_libdir) \
		install || die
}