# $Id$ PNAME="strace" PVER="4.8" PBUILD="r1" PCAT="dev-util" DESCRIPTION="A system call tracer which prints out a trace of all the system calls made by a another process/program." HOMEPAGE="http://sourceforge.net/projects/strace/" DEPEND=">= dev-lang/perl-5" SDEPEND=">= virtual/kernel-headers" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-ptrace.patch ) UP2DATE="updatecmd_sourceforge ${PNAME} xz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build against newer glibc and kernel-headers mpatch ${PNAME}-${PVER}-ptrace.patch || die }