libGL: prepare for upcoming nvidia pkg.

This commit is contained in:
Juan RP 2012-09-14 11:16:57 +02:00
parent 48f078e0cf
commit 4eeea37126
3 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,9 @@
# Create libGL.so symlinks.
case ${ACTION} in
post)
rm -f usr/lib/libGL.so usr/lib/libGL.so.1
cd usr/lib
ln -sf libGL-mesa.so* libGL.so
ln -sf libGL-mesa.so* libGL.so.1
;;
esac

View file

@ -13,4 +13,6 @@ replaces="MesaLib<7.11_2"
do_install() {
vmove "usr/lib/libGL.so*" usr/lib
rm -f ${DESTDIR}/usr/lib/libGL.so{,.1}
mv ${DESTDIR}/usr/lib/libGL.so.1.2 ${DESTDIR}/usr/lib/libGL-mesa.so.1.2
}

View file

@ -1,7 +1,7 @@
# Template build file for 'MesaLib'.
pkgname=MesaLib
version=8.0.4
revision=3
revision=4
wrksrc="Mesa-${version}"
build_style=gnu-configure
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl