blob: 8f971addb2e10a4163dcee1f00a33b639c947055 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ltrace
pkgver=0.7.3
pkgrel=1
pkgdesc="Tracks runtime library calls in dynamically linked programs"
url="http://ltrace.alioth.debian.org/"
arch=""
license="GPL"
depends=
makedepends="libelf-dev autoconf automake"
subpackages="$pkgname-doc"
source="https://alioth.debian.org/frs/download.php/file/3947/$pkgname-$pkgver.tar.bz2
musl.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
aclocal && autoconf && automake --add-missing --force || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--disable-werror \
|| return 1
make
}
package() {
cd "$_builddir"
make install INSTALL=install DESTDIR="$pkgdir" || return 1
}
md5sums="891689f667d52c303dd3c53b74b66004 ltrace-0.7.3.tar.bz2
cb921b7749a7452f9561325dec5a7662 musl.patch"
sha256sums="89fc980871c0c207490a51f6d8e23563275995671eecc7da82e527c1937ff25f ltrace-0.7.3.tar.bz2
4a074b796ab9b020b42c4704549a07e6d57f15606b2942a5261859c5a4f7aaf8 musl.patch"
sha512sums="2187c5e904ce1832abaa1e181a9536b6629ab5d440525bccf0e47f1e41886421f72a3959dcae72705d7f299009b6b84574308d825600f632d18ec358d1eaae19 ltrace-0.7.3.tar.bz2
c53e05471c52e161a7f7389994c6467e8f3671c5d8478546bc1897f067c62aeab848d728295f339a241a3fc186e180d47bcc2872a6335877c3813b1b62834698 musl.patch"
|