gnu: libssh2: Fix use with libssh2.pc

* gnu/packages/ssh.scm (libssh2): Pass --with-libgcrypt configure flag and
  propagate inputs.
This commit is contained in:
Eric Bavier 2014-03-25 15:51:32 -05:00
parent 4979ee04f0
commit e9c14f37a8
1 changed files with 5 additions and 2 deletions

View File

@ -108,8 +108,11 @@ remote applications.")
(sha256 (base32 (sha256 (base32
"0vdr478dbhbdgnniqmirawjb7mrcxckn4slhhrijxnzrkmgziipa")))) "0vdr478dbhbdgnniqmirawjb7mrcxckn4slhhrijxnzrkmgziipa"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("libgcrypt" ,libgcrypt) ;; The installed libssh2.pc file does not include paths to libgcrypt and
;; zlib libraries, so we need to propagate the inputs.
(propagated-inputs `(("libgcrypt" ,libgcrypt)
("zlib" ,zlib))) ("zlib" ,zlib)))
(arguments '(#:configure-flags `("--with-libgcrypt")))
(synopsis "libssh2, a client-side C library implementing the SSH2 protocol") (synopsis "libssh2, a client-side C library implementing the SSH2 protocol")
(description (description
"libssh2 is a library intended to allow software developers access to "libssh2 is a library intended to allow software developers access to