aboutsummaryrefslogtreecommitdiffstats
path: root/main/ltrace
diff options
context:
space:
mode:
Diffstat (limited to 'main/ltrace')
-rw-r--r--main/ltrace/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/ltrace/APKBUILD b/main/ltrace/APKBUILD
new file mode 100644
index 0000000000..145c2a5454
--- /dev/null
+++ b/main/ltrace/APKBUILD
@@ -0,0 +1,25 @@
+# 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/"
+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"