blob: 7f9f52eaf9d976215faf39a7e50e9bb861e7f306 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/pretrace/pretrace-0.3-r1.ebuild,v 1.4 2006/05/16 19:31:53 taviso Exp $
inherit toolchain-funcs flag-o-matic
DESCRIPTION="Start dynamically linked applications under debugging environment"
HOMEPAGE="http://www.gentoo.org/proj/en/security/index.xml"
SRC_URI="http://dev.gentoo.org/~taviso/files/libpretrace-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug"
DEPEND="virtual/libc"
S="${WORKDIR}/lib${P}"
src_compile() {
use debug && append-flags -DDEBUG
emake CC=$(tc-getCC) || die
}
src_install() {
einstall LIBDIR=${D}/lib PREFIX=${D}/usr || die
prepalldocs
}
pkg_postinst() {
einfo "See the documentation for instructions, configuration format and"
einfo "further indormation."
}
|