Annotation of /branches/R11-stable/extras/strace/strace-4.8-r1.smage2
Parent Directory | Revision Log
Revision 20209 -
(hide annotations)
(download)
Tue Nov 26 11:47:10 2013 UTC (10 years, 6 months ago) by niro
File size: 720 byte(s)
Tue Nov 26 11:47:10 2013 UTC (10 years, 6 months ago) by niro
File size: 720 byte(s)
-release branches/R11-stable
1 | niro | 19753 | # $Id$ |
2 | |||
3 | PNAME="strace" | ||
4 | PVER="4.8" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-util" | ||
8 | |||
9 | DESCRIPTION="A system call tracer which prints out a trace of all the system calls made by a another process/program." | ||
10 | HOMEPAGE="http://sourceforge.net/projects/strace/" | ||
11 | |||
12 | DEPEND=">= dev-lang/perl-5" | ||
13 | SDEPEND=">= virtual/kernel-headers" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER}.tar.xz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
17 | |||
18 | sminclude mbuild | ||
19 | |||
20 | SRC_URI=( | ||
21 | sourceforge://${PNAME}/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | niro | 19754 | mirror://${PNAME}/${PNAME}-${PVER}-ptrace.patch |
24 | niro | 19753 | ) |
25 | |||
26 | UP2DATE="updatecmd_sourceforge ${PNAME} xz" | ||
27 | niro | 19754 | |
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # fix build against newer glibc and kernel-headers | ||
34 | mpatch ${PNAME}-${PVER}-ptrace.patch || die | ||
35 | } |