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.

30 lines
1.2 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 - 2015 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 check configure options
  15. cleanconfopt=0
  16. skaware_conf() {
  17. # configure packages that depend on skalibs
  18. if [ ! $pkg = "skalibs" ]; then
  19. if atstage cross; then
  20. pkgprefix -t skalibs
  21. var_append confopt ' ' '--with-include=$root$( pkgprefix includedir skalibs )'
  22. var_append confopt ' ' '--with-lib=$root/usr$( pkgprefix libdir skalibs )'
  23. var_append confopt ' ' '--with-dynlib=$root/usr$( pkgprefix libdir skalibs )'
  24. var_append confopt ' ' '--with-sysdeps=$root/usr$( pkgprefix libdir skalibs )/skalibs/sysdeps'
  25. fi
  26. fi
  27. }
  28. hook_add preconf 1 'skaware_conf'