summaryrefslogtreecommitdiffstats
path: root/main/strace
diff options
context:
space:
mode:
Diffstat (limited to 'main/strace')
-rw-r--r--main/strace/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index 40965ec9d..d7a10cfd6 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -1,20 +1,28 @@
# 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"