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.

46 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xproto/xproto.conf
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  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. # --- SDE-COPYRIGHT-NOTE-END ---
  15. x_dirtree() {
  16. lib=lib
  17. ln -sfnv X11R7 $root/usr/X11
  18. if [ "$SDECFG_MULTILIB" = 1 ]; then
  19. case $arch_machine in
  20. powerpc64|sparc64|x86_64|mips64)
  21. lib=lib64
  22. # symlink lib -> lib64
  23. ln -sfnv $lib $root/usr/X11/lib
  24. ;;
  25. esac
  26. fi
  27. mkdir -p $root/etc/X11/app-defaults
  28. mkdir -p $root/usr/X11/$lib/X11
  29. # FIXME maybe link to /usr/share/fonts?
  30. mkdir -p $root/usr/X11/share/fonts
  31. ln -sfnv ../../share/fonts $root/usr/X11/$lib/X11/fonts
  32. ln -sfnv ../X11/bin $root/usr/bin/X11
  33. ln -sfnv ../X11/include/X11 $root/usr/include/X11
  34. ln -sfnv ../X11/$lib $root/usr/$lib/X11
  35. ln -sfv /etc/X11/app-defaults $root/usr/X11/$lib/X11/
  36. }
  37. hook_add postmake 5 x_dirtree