diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template index 7ae7935f9f..30ce50029c 100644 --- a/srcpkgs/ltrace/template +++ b/srcpkgs/ltrace/template @@ -1,21 +1,21 @@ # Template file for 'ltrace' pkgname=ltrace version=0.7.3 -revision=4 +revision=5 build_style=gnu-configure hostmakedepends="automake libtool git" makedepends="elfutils-devel" conf_files="/etc/ltrace.conf" short_desc="Tracks runtime library calls in dynamically linked programs" maintainer="Juan RP " -homepage="http://ltrace.alioth.debian.org/" +homepage="http://ltrace.org" license="GPL-2" +distfiles="http://ltrace.org/ltrace_${version}.orig.tar.bz2" +checksum=0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503 CFLAGS="-Wno-error -D_GNU_SOURCE" -do_fetch() { - git clone -b${version} git://anonscm.debian.org/collab-maint/ltrace.git ${wrksrc} - cd ${wrksrc} +pre_configure() { case "$XBPS_TARGET_MACHINE" in *-musl) sed -i '/HOST_OS/s/linux-uclibc/linux-musl/g' configure.ac @@ -24,7 +24,6 @@ do_fetch() { read_config_file.c expr.c zero.c sed -i '1i#include ' proc.h esac -} -pre_configure() { + autoreconf -fi }