summaryrefslogtreecommitdiffstats
path: root/acompiler/ati-107/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-19 22:33:36 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-19 22:33:36 +0100
commit03af1a2a2507d671b3866333533d92764458e1c8 (patch)
treee760cf3fc9008bbb0409e2ce923eee4dccc46136 /acompiler/ati-107/Pkgfile
parent65664baee158d3b259d487c279b89e4f4114b038 (diff)
downloadnutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.tar.gz
nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.tar.bz2
nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.tar.xz
nutyx-extra-03af1a2a2507d671b3866333533d92764458e1c8.zip
depot acompiler supprimé
Diffstat (limited to 'acompiler/ati-107/Pkgfile')
-rwxr-xr-xacompiler/ati-107/Pkgfile57
1 files changed, 0 insertions, 57 deletions
diff --git a/acompiler/ati-107/Pkgfile b/acompiler/ati-107/Pkgfile
deleted file mode 100755
index d59347333..000000000
--- a/acompiler/ati-107/Pkgfile
+++ /dev/null
@@ -1,57 +0,0 @@
-# Description: Pilotes pour les cartes graphiques ATI
-# URL: http://www.nvidia.com/object/unix.html
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on: xorg-server
-
-name=ati-107
-version=10.7
-release=1
-[ "`uname -m`" == "i686" ] && _ARCH=x86
-[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
-source=(http://nutyx.meticul.eu/files/ati-driver-installer-10-7-x86.x86_64.run)
-
-build() {
- sh ati-driver-installer-10-7-x86.x86_64.run --extract .
- cd common/lib/modules/fglrx/build_mod
- # Compilation du module
- cp 2.6.x/Makefile .
- cp \
-../../../../../arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 .
- make
- # Installation des librairies et utilitaires spécifiques à l'architecture
- mkdir -p $PKG/{etc/X11/xorg.conf.d,lib/modules/`uname -r`/kernel/video/fglrx,usr/{share/ati/lib,bin,sbin,include,lib/{,xorg}}}
- install -m644 fglrx.ko \
- $PKG/lib/modules/`uname -r`/kernel/video/fglrx/fglrx.ko
- cd $SRC/arch/${_ARCH}
- cp -a usr/lib/* $PKG/usr/lib/
- cp -a usr/sbin/* $PKG/usr/sbin/
- cp -a usr/share/ati/lib/* $PKG/usr/share/ati/lib/
- cp -a usr/X11R6/bin/* $PKG/usr/bin/
- cp -a usr/X11R6/lib/* $PKG/usr/lib/
- mv $PKG/usr/lib/modules $PKG//usr/lib/xorg/
- # Installation des librairies et utilitaires communes
- cd $SRC/common
- cp -a usr/* $PKG/usr/
- mv $PKG/usr/X11R6/include/* $PKG/usr/include/
- mv $PKG/usr/X11R6/bin/* $PKG/usr/bin/
- rm -r $PKG/usr/X11R6
- chmod 755 $PKG/usr/bin/*
- # Installation du service
- mkdir -p $PKG/etc/rc.d/rc{0,1,2,3,4,5,6}.d
- mv $PKG/usr/share/doc/fglrx/examples/etc/init.d \
- $PKG/etc/rc.d/
- for i in 3 4 5
- do ln -s ../init.d/atieventsd.sh $PKG/etc/rc.d/rc$i.d/S95atieventsd
- done
- for i in 0 1 2 6
- do ln -s ../init.d/atieventsd.sh $PKG/etc/rc.d/rc$i.d/K10atieventsd
- done
-
-cat > $PKG/etc/X11/xorg.conf.d/30-flgrx.conf << "EOF"
-Section "Device"
- Identifier "ATI"
- Driver "flgrx"
-EndSection
-EOF
-}