upgrade libssh_0.11 to libssh_0.20 submit to oe offical repository,waiting for check again
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"
RDEPENDS = "openssl zlib"
LICENSE = "LGPL"
MAINTAINER =
"lynn.lin lynnos@tong-ji.org"
SRC_URI = " \
file://fixed-libdir-name.patch;patch=1 \
"
S = "${WORKDIR}/libssh-0.2"
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
}
~
|
diff -NurpP --minimal libssh-0.2/libssh/Makefile.in libssh-0.2-libdir/libssh/Makefile.in
--- libssh-0.2/libssh/Makefile.in 2006-12-29 23:03:59.000000000 +0800
+++ libssh-0.2-libdir/libssh/Makefile.in 2008-10-13 10:04:13.000000000 +0800
@@ -15,7 +15,7 @@ exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
incldir= $(prefix)/include
infodir = $(prefix)/info
-libdir = $(prefix)/lib/
+libdir = $(prefix)/lib
mandir = $(prefix)/man/man1
CC = @CC@
|
阅读(745) | 评论(0) | 转发(0) |