# fss-0002
# note: there is a bizarre versioning system going on here..

main:
  sed -i -e '/include(UseDoxygen OPTIONAL)/d' doc/CMakeLists.txt
  sed -i -e '/string(REGEX REPLACE /d' cmake/Modules/DefineCompilerFlags.cmake
  mkdir -vp work
  tkis_local_push program work
  cmake ../ -DWITH_GCRYPT=ON
  make pkgconfigdir=${TC}lib/pkgconfig/
  make pkgconfigdir=${TC}lib/pkgconfig/ install
  chgrp e_ssh -R /usr/local/lib/
  chmod o-rx -R /usr/local/lib/
  cp -vP /usr/local/lib/libssh.so* /lib/
  cp -vR /usr/local/include/libssh ${TC}include/
  chgrp e_ssh /lib/libssh.so*
  tkis_local_pop
