Commit c03e9b91 authored by Natanael Copa's avatar Natanael Copa

main/strace: buildfix for kernel-headers>=2.6.32

parent 95ccf085
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strace
pkgver=4.5.19
pkgrel=0
pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
url="http://sourceforge.net/projects/strace/"
license="BSD"
depends="uclibc"
depends=
makedepends=
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"
build ()
{
cd "$srcdir/$pkgname-$pkgver"
#changes in kernel headers in 2.6.32
sed -i -e 's/include <linux\/socket.h>/include <sys\/socket.h>/g' \
configure
./configure --prefix=/usr \
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install
}
md5sums="2415e435d61e40315a298c80aced0cda strace-4.5.19.tar.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment