summaryrefslogtreecommitdiffstats
path: root/main/strace/APKBUILD
blob: 3bfc85ced64730b1bff0d2200d9cc0976f803553 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=strace
pkgver=4.5.20
pkgrel=0
pkgdesc="A useful diagnositic, instructional, and debugging tool"
url="http://sourceforge.net/projects/strace/"
arch="x86 x86_64"
license="BSD"
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="64dfe10d9db0c1e34030891695ffca4b  strace-4.5.20.tar.bz2"