mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
674 B

  1. #!/bin/bash
  2. ati_custmain() {
  3. # mkdir -p $root/usr/src/$xpkg
  4. # cp -a $archdir/$xsrctar $root/usr/src/$xpkg
  5. # chmod +x $root/usr/src/$xpkg/$xsrctar
  6. bash $archdir/ati-driver-installer-$ver-x86.x86_64.run --extract ati-driver
  7. cd ati-driver
  8. cp -a $confdir/ROCK packages/
  9. CC=gcc ./ati-installer.sh $ver --buildpkg ROCK/All
  10. ( cd packages/ROCK/x_pkg ; find -type f ; ) |
  11. while read x ; do
  12. mkdir -p $root/$( dirname $x )
  13. cp -a packages/ROCK/x_pkg/$x $root/$x
  14. done
  15. ( cd packages/ROCK/module_pkg ; find -type f ; ) |
  16. while read x ; do
  17. mkdir -p $root/$( dirname $x )
  18. cp -a packages/ROCK/module_pkg/$x $root/$x
  19. done
  20. }
  21. custmain=ati_custmain
  22. autoextract=0