From 2a4e6ec8d95359fb115611c3d44131faf5fddae7 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 28 Jul 2005 13:25:43 +0000 Subject: updated libssh to 0.11 --- packages/libssh/libssh_0.11.bb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/libssh/libssh_0.11.bb (limited to 'packages/libssh/libssh_0.11.bb') diff --git a/packages/libssh/libssh_0.11.bb b/packages/libssh/libssh_0.11.bb new file mode 100644 index 0000000000..ab6949f409 --- /dev/null +++ b/packages/libssh/libssh_0.11.bb @@ -0,0 +1,33 @@ +SECTION = "libs" +DESCRIPTION = "The SSH library is a C library to authenticate in a \ +simple manner to one or more SSH servers. The goal of this project \ +is to provide a library much simpler to use than OpenSSHs one. It \ +includes SFTP support, and a sample SSH client is provided." +DEPENDS = "openssl" +LICENSE = "LGPL" + +SRC_URI = "http://www.0xbadc0de.be/libssh/libssh-${PV}.tgz" + +inherit autotools + +EXTRA_OECONF = "--cache-file=${S}/config.cache" + +do_stage () { + set -x + install -d ${STAGING_INCDIR}/libssh + for i in crypto.h libssh.h sftp.h ssh2.h; do + install -m 0644 ${S}/include/libssh/$i ${STAGING_INCDIR}/libssh/ + done + oe_libinstall -so -C libssh libssh ${STAGING_LIBDIR} +} + +do_install () { + oe_runmake "prefix=${D}${prefix}" \ + "exec_prefix=${D}${exec_prefix}" \ + "bindir=${D}${bindir}" \ + "incldir=${D}${includedir}" \ + "infodir=${D}${infodir}" \ + "mandir=${D}${mandir}/man1" \ + "libdir=${D}${libdir}" \ + install +} -- cgit v1.2.3