summaryrefslogtreecommitdiff
blob: 295d7f4cd22f4b433d9ce25f9dd4e1d56a7cca42 (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
39
40
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/ltrace/ltrace-0.3.36.ebuild,v 1.1 2005/02/10 12:16:00 ka0ttic Exp $

inherit eutils

MY_P="${P/-/_}"
DEB_P="${MY_P}-2"

DESCRIPTION="ltrace shows runtime library call information for dynamically linked executables"
HOMEPAGE="http://packages.debian.org/unstable/utils/ltrace.html"
SRC_URI="mirror://debian/pool/main/l/ltrace/${MY_P}.orig.tar.gz
	mirror://debian/pool/main/l/ltrace/${DEB_P}.diff.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc -sparc ~alpha ~hppa ~mips ~amd64 ~ia64"
IUSE=""

DEPEND="virtual/libc
	dev-libs/elfutils"

src_unpack() {
	unpack ${A}
	epatch ${WORKDIR}/${DEB_P}.diff
}

#src_compile() {
#    econf || die "econf failed"
#    emake CFLAGS="${CFLAGS}" || die "make failed"
#}

src_install() {
#    einstall || die
	make DESTDIR="${D}" install || die "make install failed"

	# documentation
	rm -rvf ${D}usr/doc/
	dodoc BUGS COPYING debian/changelog README TODO
}