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

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
}