blob: 2b55af160305199e024c85a5d3b027157b953252 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.4.ebuild,v 1.5 2008/09/25 14:32:29 hawking Exp $
inherit toolchain-funcs flag-o-matic multilib
DESCRIPTION="Start dynamically linked applications under debugging environment"
HOMEPAGE="http://dev.inversepath.com/trac/pretrace"
SRC_URI="http://dev.inversepath.com/pretrace/libpretrace-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="virtual/libc"
S="${WORKDIR}/lib${P}"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}--as-needed.diff
}
src_compile() {
emake || die
}
src_install() {
dodir /usr/share/man/man{3,8}
dodir /usr/bin
einstall LIBDIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" || die
prepalldocs
}
pkg_postinst() {
elog "remember to execute ptgenmap after modifying pretrace.conf"
}
|