aboutsummaryrefslogtreecommitdiffstats
path: root/main/ltrace/APKBUILD
blob: aebc53bfe5e8e1ce34eff7efbb785cb2a0360cfb (plain) (blame)
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=0
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 DESTDIR="$pkgdir" || return 1
}
md5sums="3fa7fe715ab879db08bd06d1d59fd90f  ltrace_0.5.3.orig.tar.gz"