summaryrefslogtreecommitdiff
path: root/packages/libssh/libssh_0.11.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-07-28 13:25:43 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-28 13:25:43 +0000
commit2a4e6ec8d95359fb115611c3d44131faf5fddae7 (patch)
tree06d7fa019b9f1b718fb3569bd5a011485432ed94 /packages/libssh/libssh_0.11.bb
parentff4af32ee42a08de3855e7eb113a0a3cb6d2f1bd (diff)
updated libssh to 0.11
Diffstat (limited to 'packages/libssh/libssh_0.11.bb')
-rw-r--r--packages/libssh/libssh_0.11.bb33
1 files changed, 33 insertions, 0 deletions
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
+}