summaryrefslogtreecommitdiff
blob: 58c2895febb7e43be84ea7f315ca3663b7691ff6 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bruce A. Locke <blocke@shivan.org>

S=${WORKDIR}/${P}
FILE_VERSION="ltrace_0.3.15"
DESCRIPTION="ltrace shows runtime library call information for dynamically linked executables"
SRC_URI="http://ftp.debian.org/debian/pool/main/l/ltrace/${FILE_VERSION}.tar.gz"
HOMEPAGE="http://packages.debian.org/unstable/utils/ltrace.html"

DEPEND="virtual/glibc"

src_compile() {

  try ./configure --prefix=/usr

  # pmake kept wanting to interpret ${CFLAGS} as params
  try make CFLAGS=\"${CFLAGS} -Wall\" all

}

src_install() {

  try make DESTDIR=${D} install

  # man page
  gzip ${D}usr/share/man/man1/ltrace.1

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

}