wavpack: add exec_prefix to wavpack.pc

This commit is contained in:
Christian Neukirchen 2014-07-06 19:37:03 +02:00
parent b8f95c9394
commit ff32637230
1 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'wavpack' # Template file for 'wavpack'
pkgname=wavpack pkgname=wavpack
version=4.70.0 version=4.70.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
short_desc="An audio codec (lossy and lossless)" short_desc="An audio codec (lossy and lossless)"
homepage="http://www.wavpack.com/" 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" configure_args="--enable-mmx"
fi fi
pre_configure() {
sed -i 's/^prefix=.*/&\nexec_&/' wavpack.pc.in
}
libwavpack_package() { libwavpack_package() {
short_desc+=" - shared library" short_desc+=" - shared library"
pkg_install() { pkg_install() {