From ff326372307f497393d8a8ee40d2f67dcd45592b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 6 Jul 2014 19:37:03 +0200 Subject: [PATCH] wavpack: add exec_prefix to wavpack.pc --- srcpkgs/wavpack/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/wavpack/template b/srcpkgs/wavpack/template index daff99753ce..d9613073e30 100644 --- a/srcpkgs/wavpack/template +++ b/srcpkgs/wavpack/template @@ -1,7 +1,7 @@ # Template file for 'wavpack' pkgname=wavpack version=4.70.0 -revision=2 +revision=3 build_style=gnu-configure short_desc="An audio codec (lossy and lossless)" homepage="http://www.wavpack.com/" @@ -14,6 +14,10 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; the configure_args="--enable-mmx" fi +pre_configure() { + sed -i 's/^prefix=.*/&\nexec_&/' wavpack.pc.in +} + libwavpack_package() { short_desc+=" - shared library" pkg_install() {