2009-09-26 14:35:50 +00:00
|
|
|
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
2009-09-26 16:30:17 +00:00
|
|
|
# Modified by OpenPogo
|
|
|
|
|
2009-09-26 14:35:50 +00:00
|
|
|
pkgname=openssl
|
|
|
|
pkgver=0.9.8k
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
|
|
|
|
arch=(arm)
|
|
|
|
url='http://www.openssl.org'
|
|
|
|
license=('custom:BSD')
|
|
|
|
depends=('zlib' 'perl')
|
|
|
|
optdepends=('ca-certificates')
|
|
|
|
options=('!makeflags')
|
2009-09-27 17:29:38 +00:00
|
|
|
source=(http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
|
|
|
|
openssl-0.9.8a-no-rpath.patch)
|
2009-09-26 14:35:50 +00:00
|
|
|
md5sums=('e555c6d58d276aec7fdc53363e338ab3'
|
2009-09-26 16:30:17 +00:00
|
|
|
'4738d1eaff4e9975e9a26e4f76e48318')
|
2009-09-26 14:35:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
|
|
|
|
patch -p1 -i $srcdir/openssl-0.9.8a-no-rpath.patch
|
2009-09-26 16:30:17 +00:00
|
|
|
./config --prefix=/opt --openssldir=/opt/etc/ssl shared zlib -Wa,--noexecstack
|
2009-09-26 14:35:50 +00:00
|
|
|
|
|
|
|
make
|
|
|
|
make test
|
2009-09-26 16:30:17 +00:00
|
|
|
make INSTALL_PREFIX=$pkgdir MANDIR=/opt/share/man install
|
2009-09-26 14:35:50 +00:00
|
|
|
|
2009-09-26 16:30:17 +00:00
|
|
|
install -D -m644 LICENSE $pkgdir/opt/share/licenses/$pkgname/LICENSE
|
2009-09-26 14:35:50 +00:00
|
|
|
}
|