mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
nvidia304: fix install.
This commit is contained in:
parent
99c09c2041
commit
51eb1b53f9
1 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,8 @@ homepage="http://www.nvidia.com"
|
||||||
|
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
only_for_archs="i686 x86_64"
|
||||||
|
|
||||||
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
if [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||||
_pkg="NVIDIA-Linux-x86-${version}"
|
_pkg="NVIDIA-Linux-x86-${version}"
|
||||||
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
||||||
|
@ -20,8 +22,9 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
install -m755 ${_pkg}.run ${wrksrc}
|
install -m755 ${XBPS_SRCDISTDIR}/${_pkg}.run ${wrksrc}
|
||||||
cd ${wrksrc} && ./${_pkg}.run --extract-only
|
cd ${wrksrc}
|
||||||
|
./${_pkg}.run --extract-only
|
||||||
rm -f ${_pkg}.run
|
rm -f ${_pkg}.run
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue