Add x11-drivers/nvidia-drivers-180.{29,60}.
[overlay.git] / x11-drivers / nvidia-drivers / files / eblits / donvidia.eblit
1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/files/eblits/donvidia.eblit,v 1.1 2008/12/18 18:27:35 cardoe Exp $
4
5 # Install nvidia library:
6 # the first parameter is the place where to install it
7 # the second parameter is the base name of the library
8 # the third parameter is the provided soversion
9 donvidia() {
10         dodir $1
11         exeinto $1
12
13         libname=$(basename $2)
14
15         # libnvidia-cfg.so is no longer supplied in lib32; step over it gracefully
16         if [ -e $2.$3 ] ; then
17                 doexe $2.$3
18                 dosym ${libname}.$3 $1/${libname}
19                 [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1
20         fi
21 }