mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=strace
|
|
pkgver=4.8
|
|
pkgrel=0
|
|
pkgdesc="A useful diagnositic, instructional, and debugging tool"
|
|
url="http://sourceforge.net/projects/strace/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=
|
|
makedepends=
|
|
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz"
|
|
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 \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
}
|
|
md5sums="c575ef43829586801f514fd91bfe7575 strace-4.8.tar.xz"
|
|
sha256sums="f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215e1d7f8 strace-4.8.tar.xz"
|
|
sha512sums="c3316382f60cd4d02eec1eef46a0ef2d000afbccf2c176a6fec652e1b3391685f0e33f184497cb3ccf54d72d460471a4945d3a864fb5bce1f45f32fdf132cfe3 strace-4.8.tar.xz"
|