Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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."
- HOMEPAGE = "https://www.libssh2.org/"
- LICENSE = "LGPL"
- LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca"
- SECTION = "libs"
- DEPENDS = "openssl"
- PV = "1.8.0"
- PR = "r3"
- SRC_URI = "https://www.libssh2.org/download/libssh2-${PV}.tar.gz"
- inherit autotools
- EXTRA_OECONF = "--cache-file=${S}/config.cache"
- FILES_${PN} += "/usr/lib/libssh2.so \
- /usr/lib/libssh2.so.1 \
- /usr/lib/libssh2.so.1.0.1"
- do_compile () {
- make "$@" || die "oe_runmake failed"
- }
- do_install() {
- install -d ${D}${libdir}
- install -m 0644 ${WORKDIR}/libssh2-${PV}/src/.libs/libssh2.so ${D}${libdir}/
- install -m 0644 ${WORKDIR}/libssh2-${PV}/src/.libs/libssh2.so.1 ${D}${libdir}/
- install -m 0755 ${WORKDIR}/libssh2-${PV}/src/.libs/libssh2.so.1.0.1 ${D}${libdir}/
- }
- SRC_URI[md5sum] = "3d1147cae66e2959ea5441b183de1b1c"
- SRC_URI[sha256sum] = "39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement