updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-openssl-static / PKGBUILD
blob14dd282f0fbcedc9b08a9009e88e38b99da6e838
1 # Maintainer: napa3um@gmail.com
3 pkgname=mingw32-openssl-static
4 pkgver=1.0.0a
5 pkgrel=2
6 arch=(i686 x86_64)
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')
13 license=(custom)
14 source=(http://www.openssl.org/source/openssl-$pkgver.tar.gz)
15 md5sums=(e3873edfffc783624cfbdb65e2249cbd)
16 options=(!strip)
18 build()
20   cd $startdir/src/openssl-$pkgver
21   ./Configure --cross-compile-prefix=i486-mingw32- -DOPENSSL_NO_CAPIENG --prefix=/usr/i486-mingw32 mingw no-shared zlib
22   make || return 1
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/