summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/initrd/.md5sum2
-rw-r--r--base/initrd/Pkgfile13
-rw-r--r--extra/nvidia/.md5sum2
-rwxr-xr-xextra/nvidia/Pkgfile61
4 files changed, 39 insertions, 39 deletions
diff --git a/base/initrd/.md5sum b/base/initrd/.md5sum
index e69de29bb..54fb0acff 100644
--- a/base/initrd/.md5sum
+++ b/base/initrd/.md5sum
@@ -0,0 +1,2 @@
+9c1baae80da6d22667886f4dd3a4061d install-attapu.ash
+f205fa38dda7e085a97c82610f0e9c82 kernel%232.6.34.1-1.pkg.tar.gz
diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile
index 619234078..965fb8e87 100644
--- a/base/initrd/Pkgfile
+++ b/base/initrd/Pkgfile
@@ -4,17 +4,16 @@
# Packager: thierryn1 at hispeed dot ch
name=initrd
-version=2.6.34
-release=2
-_tools=20062010
+version=2.6.34.1
+release=1
+_tools=09072010
_baseversion=2.6.34
SCRIPT_VERSION="attapu"
-source=()
+source=(http://kiao.no-ip.info/NuTyX/tools/install-${SCRIPT_VERSION}.ash\
+ http://kiao.no-ip.info/NuTyX/attapu/`uname -m`/release/kernel%23$version-1.pkg.tar.gz\
+ )
build(){
-wget http://kiao.no-ip.info/NuTyX/tools/install-${SCRIPT_VERSION}.ash
-wget http://kiao.no-ip.info/NuTyX/attapu/`uname -m`/release/kernel%23$version-1.pkg.tar.gz
WDIR=$SRC/installtools
-tar xf kernel*
mkdir -p $WDIR
wget http://kiao.no-ip.info/NuTyX/tools/installtools-${_tools}.tar.gz
tar -C $WDIR --use-compress-program=gzip -xf installtools-${_tools}.tar.gz
diff --git a/extra/nvidia/.md5sum b/extra/nvidia/.md5sum
index 4251e0dab..d410fedea 100644
--- a/extra/nvidia/.md5sum
+++ b/extra/nvidia/.md5sum
@@ -1 +1 @@
-97d3e5f69707092aa643fb901bb94003 NVIDIA-Linux-x86-195.36.24-pkg0.run
+f6af8917a500de28396a438f3f548c88 NVIDIA-Linux-x86-256.35.run
diff --git a/extra/nvidia/Pkgfile b/extra/nvidia/Pkgfile
index f8cbdc7e9..4adea2e52 100755
--- a/extra/nvidia/Pkgfile
+++ b/extra/nvidia/Pkgfile
@@ -5,43 +5,42 @@
# Depends on: xorg-server
name=nvidia
-version=195.36.24
+version=256.35
release=1
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
-source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version-pkg0.run)
+source=(http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run)
build() {
- sh NVIDIA-Linux-${_ARCH}-$version-pkg0.run --extract-only
- cd NVIDIA-Linux-${_ARCH}-$version-pkg0
-
-# patch -p0 -i $SRC/$name-makefile.patch usr/src/nv/Makefile.kbuild
-
-
- mkdir -p $PKG/usr/lib \
- $PKG/usr/lib/xorg/modules/drivers \
- $PKG/usr/lib/xorg/modules/extensions \
- $PKG/usr/bin $PKG/usr/man/man1
-
- cp -a usr/X11R6/lib/* $PKG/usr/lib/xorg/
- cp -a usr/lib/* $PKG/usr/lib/
- sed -i -e 's|__LIBGL_PATH__|/usr/lib|' $PKG/usr/lib/libGL.la
- ln -sf libGLcore.so.$version $PKG/usr/lib/libGLcore.so
- ln -sf /usr/lib/libGLcore.so $PKG/usr/lib/xorg/modules/extensions/libGLcore.so
- ln -sv /usr/lib/xorg/modules/extensions/libglx.so.$version \
- $PKG//usr/lib/xorg/modules/extensions/libglx.so
- # copy includes
- mkdir -p $PKG/usr/include/nvidia
- cp -r usr/include/GL $PKG/usr/include/nvidia/
-
-
- # install xconfig/settings programs and manpages
-# install -m 0755 usr/bin/nvidia-{xconfig,settings} $PKG/usr/bin/
-# install -m 0644 usr/share/man/man1/nvidia-{xconfig,settings}.1.gz \
-# $PKG/usr/man/man1/
-
+ sh NVIDIA-Linux-${_ARCH}-$version.run --extract-only
+ cd NVIDIA-Linux-${_ARCH}-$version
+ # includes for CUDA and VDPAU
+ install -d $PKG/usr/include/{cuda,vdpau}
+ install -m 0644 vdpau*.h $PKG/usr/include/vdpau
+ install -m 0644 cuda*.h $PKG/usr/include/cuda
+
+ # librairies
+ install -d $PKG/usr/lib/{tls,vdpau}
+ for i in libGL.so.$version libOpenCL.so.1.0.0 libXvMCNVIDIA.so.$version \
+ libcuda.so.$version libnvidia-cfg.so.$version libnvidia-compiler.so.$version \
+ libnvidia-glcore.so.$version libnvidia-tls.so.$version libnvidia-tls.so.$version \
+ libvdpau.so.$version
+ do
+ install -m 0755 $i $PKG/usr/lib
+ done
+ for i in libvdpau_nvidia.so.$version libvdpau_trace.so.$version
+ do
+ install -m 0755 $i $PKG/usr/lib/vdpau
+ done
+ install -m 0755 tls/libnvidia-tls.so.$version $PKG/usr/lib/tls
+ install -m 0644 libXvMCNVIDIA.a $PKG/usr/lib
+ # xorg driver/extensions
+ install -d $PKG/usr/lib/xorg/modules/{drivers,extensions}
+ install -m 0755 nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers
+ install -m 0755 libglx.so.$version $PKG/usr/lib/xorg/modules/extensions
+ install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/xorg/modules
# build the module
- cd usr/src/nv
+ cd kernel
ln -s Makefile{.kbuild,}
IGNORE_CC_MISMATCH=1 make module