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.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../skalibs/skalibs.conf
  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. if [ "$prefix_auto" = 1 ]; then
  15. prefix="usr/skalibs"
  16. set_confopt
  17. fi
  18. # skalibs is following slashpackage confentions
  19. srcdir=prog/$pkg-$ver
  20. skalibs_conf() {
  21. # configure installation directories
  22. echo "$root/$prefix" > conf-compile/conf-home
  23. echo "$root$bindir" > conf-compile/conf-bin
  24. echo "$root$includedir" > conf-compile/conf-include
  25. echo "$root$libdir" > conf-compile/conf-lib
  26. echo "$root$mandir" > conf-compile/conf-man
  27. }
  28. hook_add preconf 1 'skalibs_conf'
  29. skalibs_install() {
  30. cp -avp library/* $root$libdir
  31. cp -avp library.so/* $root$libdir
  32. cp -avp include/* $root$includedir
  33. cp -avp sysdeps $root/$prefix
  34. }
  35. hook_add postmake 9 'skalibs_install'