libssh2_1.7.0.bb 912 B

1234567891011121314151617181920212223242526
  1. SUMMARY = "A client-side C library implementing the SSH2 protocol"
  2. HOMEPAGE = "http://www.libssh2.org/"
  3. SECTION = "libs"
  4. DEPENDS = "zlib"
  5. LICENSE = "BSD"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=c5cf34fc0acb44b082ef50ef5e4354ca"
  7. SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz"
  8. SRC_URI[md5sum] = "b01662a210e94cccf2f76094db7dac5c"
  9. SRC_URI[sha256sum] = "e4561fd43a50539a8c2ceb37841691baf03ecb7daf043766da1b112e4280d584"
  10. inherit autotools pkgconfig
  11. EXTRA_OECONF += "\
  12. --with-libz \
  13. --with-libz-prefix=${STAGING_LIBDIR} \
  14. "
  15. # only one of openssl and gcrypt could be set
  16. PACKAGECONFIG ??= "openssl"
  17. PACKAGECONFIG[openssl] = "--with-openssl --with-libssl-prefix=${STAGING_LIBDIR},--without-openssl,openssl"
  18. PACKAGECONFIG[gcrypt] = "--with-libgcrypt --with-libgcrypt-prefix=${STAGING_EXECPREFIXDIR},--without-libgcrypt,libgcrypt"
  19. BBCLASSEXTEND = "native"