summaryrefslogtreecommitdiffstats
path: root/extra/ati-utils/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:25:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:25:45 +0100
commit364eb3f4561747275c1649fda3fd60c1c16632f9 (patch)
treef65644af8e9a76e84cc48e97cee5ae22fcbd6575 /extra/ati-utils/Pkgfile
parent9291e062cb24bac5d7c7059d4dc64669c1917b33 (diff)
downloadnutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.tar.gz
nutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.tar.bz2
nutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.tar.xz
nutyx-pakxe-364eb3f4561747275c1649fda3fd60c1c16632f9.zip
Suppression des ports extra
Diffstat (limited to 'extra/ati-utils/Pkgfile')
-rwxr-xr-xextra/ati-utils/Pkgfile127
1 files changed, 0 insertions, 127 deletions
diff --git a/extra/ati-utils/Pkgfile b/extra/ati-utils/Pkgfile
deleted file mode 100755
index f2cbee152..000000000
--- a/extra/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.9
-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
-}