summaryrefslogtreecommitdiffstats
path: root/base/ati-utils/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 15:20:20 +0200
committertnut <tnut at nutyx dot com>2011-10-15 15:20:20 +0200
commit76216e53a746d391466b485e901bf4b4924b05aa (patch)
treeddb88775e7a949bcbf0a59cd9e117f55f19d628a /base/ati-utils/Pkgfile
parentd136f558b9ed6b1d68dca870dc652d226a799de8 (diff)
downloadnutyx-pakxe-76216e53a746d391466b485e901bf4b4924b05aa.tar.gz
nutyx-pakxe-76216e53a746d391466b485e901bf4b4924b05aa.tar.bz2
nutyx-pakxe-76216e53a746d391466b485e901bf4b4924b05aa.tar.xz
nutyx-pakxe-76216e53a746d391466b485e901bf4b4924b05aa.zip
ati-utils dans extra
Diffstat (limited to 'base/ati-utils/Pkgfile')
-rwxr-xr-xbase/ati-utils/Pkgfile127
1 files changed, 0 insertions, 127 deletions
diff --git a/base/ati-utils/Pkgfile b/base/ati-utils/Pkgfile
deleted file mode 100755
index 164ec922b..000000000
--- a/base/ati-utils/Pkgfile
+++ /dev/null
@@ -1,127 +0,0 @@
-# Description: Utilitaire pour cartes graphiques ATI
-# URL: http://www.nvidia.com/object/unix.html
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-# Depends on:
-
-name=ati-utils
-version=11.7
-release=1
-[ "`uname -m`" == "i686" ] && _ARCH=x86
-[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
-source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${version/./-}-x86.x86_64.run)
-
-build() {
- sh ati-driver-installer-${version/./-}-x86.x86_64.run --extract ati
-
- # Installation des librairies et utilitaires spécifiques à l'architecture
- install -m755 -d $PKG/etc/ati
- install -m755 -d $PKG/etc/rc.d/init.d/
-
- install -m755 -d $PKG/usr/lib/dri
- install -m755 -d $PKG/usr/lib/X11/modules/{dri,drivers,extensions/fglrx,linux}
-
- install -m755 -d $PKG/usr/{include,bin,sbin,lib/fglrx}
- install -m755 -d $PKG/usr/include/X11/extensions
- install -m755 -d $PKG/usr/include/GL
-
- install -m755 -d $PKG/usr/share/{applications,ati/amdcccle}
- install -m755 -d $PKG/usr/share/licenses/$name
- install -m755 -d $PKG/usr/share/man/man8
- install -m755 -d $PKG/usr/share/pixmaps
- if [ "`uname -m`" == "i686" ]; then
- cd ati/xpic/usr/X11R6/lib/modules
- elif [ "`uname -m`" == "x86_64" ]; then
- cd ati/xpic_64a/usr/X11R6/lib64/modules
- fi
- # install -m644 *.a $PKG/usr/lib/X11/modules/
- install -m755 *.so $PKG/usr/lib/X11/modules/
- install -m755 drivers/*.so $PKG/usr/lib/X11/modules/drivers/
- install -m755 linux/*.so $PKG/usr/lib/X11/modules/linux/
-
- install -m755 extensions/fglrx/fglrx-libglx.so \
- $PKG/usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so
- ln -s /usr/lib/X11/modules/extensions/fglrx/fglrx-libglx.so \
- $PKG/usr/lib/X11/modules/extensions/libglx.so
-
- if [ "`uname -m`" == "i686" ]; then
- cd $SRC/ati/arch/x86/usr
- _lib=lib
- elif [ "`uname -m`" == "x86_64" ]; then
- cd $SRC/ati/arch/x86_64/usr
- _lib=lib64
- fi
- install -m755 X11R6/bin/* $PKG/usr/bin/
- install -m755 sbin/* $PKG/usr/sbin/
- install -m755 X11R6/${_lib}/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/fglrx
- ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/fglrx/libGL.so.1.2
- ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/fglrx-libGL.so.1.2
- ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/libGL.so.1.2
- ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/libGL.so.1
- ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 $PKG/usr/lib/libGL.so
- install -m755 X11R6/${_lib}/libAMDXvBA.so.1.0 $PKG/usr/lib/
- ln -snf libAMDXvBA.so.1.0 $PKG/usr/lib/libAMDXvBA.so.1
- ln -snf libAMDXvBA.so.1.0 $PKG/usr/lib/libAMDXvBA.so
- install -m755 X11R6/${_lib}/libatiadlxx.so $PKG/usr/lib/
- install -m755 X11R6/${_lib}/libfglrx_dm.so.1.0 $PKG/usr/lib/
- install -m755 X11R6/${_lib}/libXvBAW.so.1.0 $PKG/usr/lib/
- ln -snf libXvBAW.so.1.0 $PKG/usr/lib/libXvBAW.so.1
- ln -snf libXvBAW.so.1.0 $PKG/usr/lib/libXvBAW.so
- install -m644 X11R6/${_lib}/*.a $PKG/usr/lib/
- install -m644 X11R6/${_lib}/*.cap $PKG/usr/lib/
- install -m755 X11R6/${_lib}/modules/dri/*.so $PKG/usr/lib/X11/modules/dri/
- install -m755 ${_lib}/*.so* $PKG/usr/lib/
-
- ln -snf /usr/lib/X11/modules/dri/fglrx_dri.so $PKG/usr/lib/dri/fglrx_dri.so
- ln -snf libfglrx_dm.so.1.0 $PKG/usr/lib/libfglrx_dm.so.1
- ln -snf libfglrx_dm.so.1.0 $PKG/usr/lib/libfglrx_dm.so
- ln -snf libatiuki.so.1.0 $PKG/usr/lib/libatiuki.so.1
- ln -snf libatiuki.so.1.0 $PKG/usr/lib/libatiuki.so
-
- cd $SRC/ati/common
-
- install -m644 usr/X11R6/bin/amdupdaterandrconfig $PKG/usr/bin/
- install -m644 usr/include/GL/*.h $PKG/usr/include/GL/
- install -m755 usr/sbin/*.sh $PKG/usr/sbin/
- install -m644 usr/share/man/man8/*.8 $PKG/usr/share/man/man8/
-
- install -m644 etc/ati/* $PKG/etc/ati/
- chmod 755 $PKG/etc/ati/authatieventsd.sh
-# install -m755 $SRC/atieventsd.sh $PKG/etc/rc.d/init.d/atieventsd
-
- install -m644 $SRC/ati/ATI_LICENSE.TXT $PKG/usr/share/licenses/$name/
- mkdir -p $PKG/etc/X11/xorg.conf.d
- cat > $PKG/etc/X11/xorg.conf.d/30-ati.conf << "EOF"
-Section "ServerLayout"
- Identifier "aticonfig Layout"
- Screen 0 "aticonfig-Screen[0]-0" 0 0
-EndSection
-
-Section "Module"
-EndSection
-
-Section "Monitor"
- Identifier "aticonfig-Monitor[0]-0"
- Option "VendorName" "ATI Proprietary Driver"
- Option "ModelName" "Generic Autodetecting Monitor"
- Option "DPMS" "true"
-EndSection
-
-Section "Device"
- Identifier "aticonfig-Device[0]-0"
- Driver "fglrx"
- BusID "PCI:1:0:0"
-EndSection
-
-Section "Screen"
- Identifier "aticonfig-Screen[0]-0"
- Device "aticonfig-Device[0]-0"
- Monitor "aticonfig-Monitor[0]-0"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 24
- EndSubSection
-EndSection
-EOF
-}