mirror of the now-defunct rocklinux.org
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.

23 lines
558 B

  1. makeinstopt=""
  2. # use these commands instead of make install, as recommended ./server/INSTALL
  3. install_linesrv () {
  4. cp -av server/linesrv lclog/lclog htmlstatus/htmlstatus $root/$sbindir/
  5. cp -av server/config/complete_syntax/linesrv.conf \
  6. $root/$sysconfdir/linesrc.conf.example
  7. cp -av server/README $root/$docdir/README.linesrv
  8. }
  9. install_lcc () {
  10. cp -av lcc $root/$sbindir/
  11. cp -av lcc.conf $root/$sysconfdir/lcc.conf.example
  12. }
  13. pm_hook () {
  14. case "$xsrcdir" in
  15. linesrv*) install_linesrv ;;
  16. lcc*) install_lcc ;;
  17. esac
  18. }
  19. hook_add postmake 5 "pm_hook"