# $Id$ PNAME="libssh" PVER="0.7.5" PBUILD="r2" PCAT="net-libs" DESCRIPTION="Library for accessing ssh client services through C libraries-" HOMEPAGE="http://www.libssh.org/" DEPEND=">= app-crypt/libgcrypt-1.8 >= sys-libs/zlib-1.2" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude cmake DL_ID="218" SRC_URI=( https://red.libssh.org/attachments/download/${DL_ID}/${SRCFILE} http://www.libssh.org/files/${PVER%.*}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2EXCLUDE="rc" UP2DATE="updatecmd https://red.libssh.org/projects/libssh/files | highesttarball xz" src_compile() { cmake_setup_builddir || die cmake_configure $(cmake_without GSSAPI) $(cmake_with GCRYPT) || die cmake_mmake || die }