OpenSDE Packages Database (without history before r20070)
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.

54 lines
1.4 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../graphics-dirtree/graphics-dirtree.conf
  5. # Copyright (C) 2004 - 2007 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- T2-COPYRIGHT-NOTE-END ---
  15. main_dt() {
  16. echo -n "Change to sysroot directory ... "
  17. cd $sysroot/ ; echo 'done'
  18. while read a b c ; do
  19. b=$prefix/$b
  20. if [ "$a" = "chmod" -o "$a" = "chown" ] ; then
  21. echo "Running $a ($b) on $c ..."
  22. $a "$b" "$sysroot/$c"
  23. elif [ "$a" -a "$a" != "#" ] ; then
  24. if [ -e "$sysroot/$b" ] ; then
  25. echo "Exists already: $b."
  26. elif [ "$a" = "m" ] ; then
  27. echo "Create directory $b ..."
  28. mkdir -p "$sysroot/$b"
  29. elif [ "$a" = "l" ] ; then
  30. echo "Create symlink $b ($c) ..."
  31. ln -fsn "$c" "$sysroot/$b"
  32. else
  33. echo "Syntax Error: $a $b $c" ; false
  34. fi
  35. add_flist "$sysroot/$b"
  36. fi
  37. done < <(
  38. cat $confdir/data.txt
  39. if [[ $libdir = *lib64 ]]; then
  40. echo "m lib64"
  41. echo "m usr/lib64"
  42. echo "m usr/local/lib64"
  43. fi
  44. )
  45. }
  46. srctar=none
  47. createprefix=0
  48. createdocs=0
  49. custmain="main_dt"
  50. check_usrlocal=0