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.

38 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../s6/s6.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"
  16. set_confopt
  17. fi
  18. # execline is following slashpackage confentions
  19. srcdir=admin/$pkg-$ver
  20. s6_conf() {
  21. pkgprefix -t execline
  22. echo "$( pkgprefix -r libdir execline )" >> conf-compile/path-library
  23. echo "$( pkgprefix -r libdir execline )" >> conf-compile/path-library.so
  24. echo "$( pkgprefix -r includedir execline )" >> conf-compile/path-include
  25. }
  26. hook_add preconf 9 's6_conf'
  27. s6_portable_utils_install() {
  28. cp -avp command/* $root$bindir
  29. cp -avp library/* $root$libdir
  30. cp -avp include/* $root$includedir
  31. cp -avp doc/* $root$docdir
  32. }
  33. hook_add postmake 9 's6_portable_utils_install'