1 pkgname=mingw32-libssh2-static
4 pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
5 url="http://www.libssh2.org/"
8 makedepends=('openssl' 'zlib')
9 source=("http://downloads.sourceforge.net/libssh2/libssh2-$pkgver.tar.gz")
10 md5sums=('f8a3eb9bb814e0a5a2bb76a5423f5129')
13 cd $srcdir/libssh2-$pkgver
14 ./configure --host=i486-mingw32 --prefix=/usr/i486-mingw32 --with-libz-prefix=/usr/i486-mingw32/lib --with-libssl-prefix=/usr/i486-mingw32/lib --enable-static --disable-shared
15 make CFLAGS='-W -Wall -DLIBSSH2_API=' LIBS='-lgdi32 -lws2_32' || return 1
16 make DESTDIR=${pkgdir} install || return 1