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.

39 lines
1.5 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 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. # do not run make install because we do not want slashpackage convention
  17. # by default
  18. makeinstopt=
  19. skaware_conf() {
  20. # configure build environment
  21. echo "$CC" > conf-compile/conf-cc
  22. echo "$CC" > conf-compile/conf-ld
  23. echo "$CC" > conf-compile/conf-dynld
  24. echo "$STRIP -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-stripbins
  25. echo "$STRIP -x -R .note -R .comment -R .note.GNU-stack" > conf-compile/conf-striplibs
  26. # configure packages that depend on skalibs
  27. if [ ! $pkg = "skalibs" ]; then
  28. pkgprefix -t skalibs
  29. echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library
  30. echo "$( pkgprefix -r libdir skalibs )" > conf-compile/path-library.so
  31. echo "$( pkgprefix -r includedir skalibs )" > conf-compile/path-include
  32. echo "$( pkgprefix -r skalibs )/sysdeps" > conf-compile/import
  33. fi
  34. }
  35. hook_add preconf 1 'skaware_conf'