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.

48 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../skalibs/skaware-conf.in
  5. # Copyright (C) 2011 - 2013 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # do not run the useless configure script dummy
  15. runconf=0
  16. skaware_conf() {
  17. # configure build environment
  18. echo "$CC" > conf-compile/conf-cc
  19. echo "$CC" > conf-compile/conf-ld
  20. echo "$CC" > conf-compile/conf-dynld
  21. echo "$STRIP -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-stripbins
  22. echo "$STRIP -x -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-striplibs
  23. # do not use slashpackage style fs layout if FHS is used
  24. if pkginstalled fhs; then
  25. local flag_slashpackage="conf-compile/flag-slashpackage"
  26. [ -f $flag_slashpackage ] && rm -vf $flag_slashpackage
  27. echo "$root$sysconfdir" > conf-compile/conf-etc
  28. echo "$root$mandir" > conf-compile/conf-man
  29. echo "$root$bindir" > conf-compile/conf-install-command
  30. echo "$root$libdir" > conf-compile/conf-install-library
  31. echo "$root$libdir" > conf-compile/conf-install-library.so
  32. echo "$root$includedir" > conf-compile/conf-install-include
  33. echo "$root$libdir/sysdeps" > conf-compile/conf-install-sysdeps
  34. # configure packages that depend on skalibs
  35. if [ ! $pkg = "skalibs" ]; then
  36. pkgprefix -t skalibs
  37. echo "$( pkgprefix -r includedir skalibs )" > conf-compile/path-include
  38. echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library
  39. echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library.so
  40. echo "$( pkgprefix -r libdir skalibs )/sysdeps" > conf-compile/import
  41. fi
  42. fi
  43. }
  44. hook_add preconf 1 'skaware_conf'