Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. DESCRIPTION = "The SSH library is a C library to authenticate in a \
  2. simple manner to one or more SSH servers. The goal of this project \
  3. is to provide a library much simpler to use than OpenSSHs one. It \
  4. includes SFTP support, and a sample SSH client is provided."
  5. HOMEPAGE = "https://www.libssh2.org/"
  6. LICENSE = "LGPL"
  7. LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca"
  8. SECTION = "libs"
  9. DEPENDS = "openssl"
  10.  
  11. PV = "1.8.0"
  12. PR = "r3"
  13.  
  14. SRC_URI = "https://www.libssh2.org/download/libssh2-${PV}.tar.gz"
  15.  
  16. inherit autotools
  17.  
  18. EXTRA_OECONF = "--cache-file=${S}/config.cache"
  19.  
  20. FILES_${PN} += "/usr/lib/libssh2.so \
  21. /usr/lib/libssh2.so.1 \
  22. /usr/lib/libssh2.so.1.0.1"
  23.  
  24. do_compile () {
  25. make "$@" || die "oe_runmake failed"
  26. }
  27.  
  28. do_install() {
  29. install -d ${D}${libdir}
  30. install -m 0644 ${WORKDIR}/libssh2-${PV}/src/.libs/libssh2.so ${D}${libdir}/
  31. install -m 0644 ${WORKDIR}/libssh2-${PV}/src/.libs/libssh2.so.1 ${D}${libdir}/
  32. install -m 0755 ${WORKDIR}/libssh2-${PV}/src/.libs/libssh2.so.1.0.1 ${D}${libdir}/
  33. }
  34.  
  35. SRC_URI[md5sum] = "3d1147cae66e2959ea5441b183de1b1c"
  36. SRC_URI[sha256sum] = "39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement