Package: libssh2 Version: 0.14 Revision: 2 Description: Library implementing the SSH2 protocol Maintainer: Daniel Johnson Homepage: http://www.libssh2.org License: BSD DescPackaging: << The actual name of this library is libssh2; the "2" has nothing to do with the version number. The major version number is actually 0. Patched and manually installed to do proper versioning. Newer versions will use libtool and won't need this hackery. << Source: mirror:sourceforge:libssh2/libssh2-%v.tar.gz Source-MD5: 7a44b7b38295d80bd8f80254ee135930 Depends: %N-shlibs (= %v-%r) BuildDepends: system-openssl-dev BuildDependsOnly: true Conflicts: libssh2.1 Replaces: libssh2.1 PatchScript: << perl -pi.bak -e's,-flat_namespace,-install_name %p/lib/libssh2.0.dylib -current_version 1.0.0 -compatibility_version 1.0.0,' configure << NoSetCPPFLAGS: true NoSetLDFLAGS: true ConfigureParams: --with-openssl=%p/lib/system-openssl --with-libz=/usr InstallScript: << #!/bin/bash -ev /bin/mkdir -p %i/include /bin/mkdir -p %i/lib /bin/cp include/libssh2.h %i/include/libssh2.h /bin/cp include/libssh2_sftp.h %i/include/libssh2_sftp.h /bin/cp include/libssh2_publickey.h %i/include/libssh2_publickey.h /bin/cp src/libssh2.dylib %i/lib/libssh2.0.0.0.dylib /bin/ln -s libssh2.0.0.0.dylib %i/lib/libssh2.0.dylib /bin/ln -s libssh2.0.0.0.dylib %i/lib/libssh2.dylib << DocFiles: INSTALL LICENSE README SplitOff: << Package: %N-shlibs Files: lib/libssh2.0.0.0.dylib lib/libssh2.0.dylib Shlibs: %p/lib/libssh2.0.dylib 1.0.0 %n (>= 0.14-1) DocFiles: INSTALL LICENSE README <<