zita-{convolver,resampler}: add missing symlinks (#9784)

* zita-convolver: add missing symlink

* zita-resampler: add missing symlink
This commit is contained in:
newbluemoon 2017-12-05 12:18:56 +01:00 committed by Juan RP
parent 383e19c4e4
commit dd4471d8f0
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'zita-convolver' # Template file for 'zita-convolver'
pkgname=zita-convolver pkgname=zita-convolver
version=3.1.0 version=3.1.0
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="LIBDIR=lib" make_install_args="LIBDIR=lib"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -19,6 +19,11 @@ pre_build() {
sed -i '/march=native/d' Makefile sed -i '/march=native/d' Makefile
} }
post_install() {
# add missing symlink
ln -s libzita-convolver.so.${version} ${PKGDESTDIR}/usr/lib/libzita-convolver.so.${version%%.*}
}
zita-convolver-devel_package() { zita-convolver-devel_package() {
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"

View File

@ -1,7 +1,7 @@
# Template file for 'zita-resampler' # Template file for 'zita-resampler'
pkgname=zita-resampler pkgname=zita-resampler
version=1.6.0 version=1.6.0
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
make_install_args="LIBDIR=lib" make_install_args="LIBDIR=lib"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -18,6 +18,11 @@ pre_build() {
sed -i '/march=native/d' Makefile sed -i '/march=native/d' Makefile
} }
post_install() {
# add missing symlink
ln -s libzita-resampler.so.${version} ${PKGDESTDIR}/usr/lib/libzita-resampler.so.${version%%.*}
}
zita-resampler-devel_package() { zita-resampler-devel_package() {
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"