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.

45 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/.../xproto/xproto.conf
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- T2-COPYRIGHT-NOTE-END ---
  14. x_dirtree() {
  15. ln -sfnv X11R7 $root/usr/X11
  16. mkdir -p $root/etc/X11/app-defaults
  17. mkdir -p $root/usr/X11/lib/X11
  18. # FIXME maybe link to /usr/share/fonts?
  19. mkdir -p $root/usr/X11/share/fonts
  20. ln -sfnv ../X11/bin $root/usr/bin/X11
  21. ln -sfnv ../X11/include/X11 $root/usr/include/X11
  22. ln -sfnv ../X11/lib $root/usr/lib/X11
  23. ln -sfnv ../../share/fonts $root/usr/X11/lib/X11/fonts
  24. ln -sfv /etc/X11/app-defaults $root/usr/X11/lib/X11/
  25. if [[ $libdir = *lib64 ]]; then
  26. mkdir -p $root/usr/X11/lib64/X11
  27. ln -sfnv ../../share/fonts $root/usr/X11/lib64/X11/fonts
  28. ln -sfnv ../X11/lib64 $root/usr/lib64/X11
  29. ln -sfv /etc/X11/app-defaults $root/usr/X11/lib64/X11/
  30. # CHECK: this compat link seems to be needed, or somebody
  31. # finds the file to patch inside the imake template files
  32. ln -sfnv ../../lib64/X11/config $root/usr/X11/lib/X11/config
  33. fi
  34. }
  35. hook_add postmake 5 x_dirtree