nvidia304: fix install.
This commit is contained in:
parent
99c09c2041
commit
51eb1b53f9
|
@ -9,6 +9,8 @@ homepage="http://www.nvidia.com"
|
|||
|
||||
create_wrksrc=yes
|
||||
noextract=yes
|
||||
only_for_archs="i686 x86_64"
|
||||
|
||||
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||
_pkg="NVIDIA-Linux-x86-${version}"
|
||||
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
||||
|
@ -20,8 +22,9 @@ else
|
|||
fi
|
||||
|
||||
do_extract() {
|
||||
install -m755 ${_pkg}.run ${wrksrc}
|
||||
cd ${wrksrc} && ./${_pkg}.run --extract-only
|
||||
install -m755 ${XBPS_SRCDISTDIR}/${_pkg}.run ${wrksrc}
|
||||
cd ${wrksrc}
|
||||
./${_pkg}.run --extract-only
|
||||
rm -f ${_pkg}.run
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue