1 # Maintainer: napa3um@gmail.com
3 pkgname=mingw32-openssl-static
7 url="http://www.openssl.org"
8 pkgdesc="Toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols."
9 depends=('mingw32-zlib-static')
10 makedepends=('mingw32-w32api' 'mingw32-gcc' 'mingw32-binutils')
11 conflicts=('mingw32-openssl')
12 replaces=('mingw32-openssl')
14 source=(http://www.openssl.org/source/openssl-$pkgver.tar.gz)
15 md5sums=(e3873edfffc783624cfbdb65e2249cbd)
20 cd $startdir/src/openssl-$pkgver
21 ./Configure --cross-compile-prefix=i486-mingw32- -DOPENSSL_NO_CAPIENG --prefix=/usr/i486-mingw32 mingw no-shared zlib
24 mkdir -p $pkgdir/usr/i486-mingw32/lib
25 cp libssl.a $startdir/pkg/usr/i486-mingw32/lib/
26 cp libcrypto.a $startdir/pkg/usr/i486-mingw32/lib/
27 cp -RL include $startdir/pkg/usr/i486-mingw32/