xvidcore: fix shared lib links.
--HG-- extra : convert_revision : 67e737629d745975ac49e3cbdc5cefda95879760
This commit is contained in:
parent
eabfdf4f75
commit
80302acf87
2 changed files with 10 additions and 0 deletions
|
@ -16,3 +16,12 @@ long_desc="
|
|||
subpackages="$pkgname-devel"
|
||||
Add_dependency run glibc
|
||||
Add_dependency build nasm
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Fix dynamic libraries
|
||||
cd ${DESTDIR}/usr/lib
|
||||
local mylib=$(basename libxvidcore.so.*)
|
||||
ln -sf ${mylib} libxvidcore.so.4
|
||||
ln -sf ${mylib} libxvidcore.so
|
||||
}
|
||||
|
|
|
@ -13,4 +13,5 @@ do_install()
|
|||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue