diff options
Diffstat (limited to 'main/ltrace/APKBUILD')
-rw-r--r-- | main/ltrace/APKBUILD | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/main/ltrace/APKBUILD b/main/ltrace/APKBUILD index c6503a8d7..46b6bf4de 100644 --- a/main/ltrace/APKBUILD +++ b/main/ltrace/APKBUILD @@ -1,26 +1,39 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ltrace -pkgver=0.5.3 -pkgrel=1 +pkgver=0.6.0 +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" +makedepends="libelf-dev autoconf automake libtool" subpackages="$pkgname-doc" -source="http://ftp.debian.org/debian/pool/main/l/$pkgname/${pkgname}_$pkgver.orig.tar.gz" +source="http://dev.archlinux.org/~foutrelis/sources/ltrace/$pkgname-$pkgver.tar.xz" + + +_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 +} build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" + ./autogen.sh ./configure --prefix=/usr \ --sysconfdir=/etc \ + --disable-werror \ || return 1 make } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make install INSTALL=install DESTDIR="$pkgdir" || return 1 } -md5sums="3fa7fe715ab879db08bd06d1d59fd90f ltrace_0.5.3.orig.tar.gz" +md5sums="042592865eb55efb56cb7a10207ca94d ltrace-0.6.0.tar.xz" |