aboutsummaryrefslogtreecommitdiffstats
path: root/main/ltrace/APKBUILD
blob: c6503a8d76035c3f71966e6dc6b564213106890f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ltrace
pkgver=0.5.3
pkgrel=1
pkgdesc="Tracks runtime library calls in dynamically linked programs"
url="http://ltrace.alioth.debian.org/"
arch="all"
license="GPL"
depends=
makedepends="libelf-dev"
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/l/$pkgname/${pkgname}_$pkgver.orig.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make install INSTALL=install DESTDIR="$pkgdir" || return 1
}
md5sums="3fa7fe715ab879db08bd06d1d59fd90f  ltrace_0.5.3.orig.tar.gz"