void-packages/srcpkgs/strace/template
Juan RP 8749b90745 strace: fixed build with kernel>=2.6.32.
--HG--
extra : convert_revision : ed317215b26441afeb189f33a51fe9f6842e6678
2009-12-24 04:40:29 +01:00

21 lines
635 B
Text

# Template file for 'strace'
pkgname=strace
version=4.5.19
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="System Call Tracer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8997ce919e971b0ec45cd7006c6e1f9c7c0bce68ab59e3a629e1ddeda5013d08
long_desc="
strace is a system call tracer, i.e. a debugging tool which prints out
a trace of all the system calls made by a process/program."
Add_dependency full glibc
# Required by strace-graph
Add_dependency full perl
pre_configure()
{
# Fix for kernel>=2.6.32
sed -i -e "s|linux/socket.h|sys/socket.h|g" ${wrksrc}/configure
}