PKGBUILDs/core/openssl/PKGBUILD
2009-09-27 12:29:38 -05:00

30 lines
870 B
Bash

# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
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')
source=(http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
openssl-0.9.8a-no-rpath.patch)
md5sums=('e555c6d58d276aec7fdc53363e338ab3'
'4738d1eaff4e9975e9a26e4f76e48318')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p1 -i $srcdir/openssl-0.9.8a-no-rpath.patch
./config --prefix=/opt --openssldir=/opt/etc/ssl shared zlib -Wa,--noexecstack
make
make test
make INSTALL_PREFIX=$pkgdir MANDIR=/opt/share/man install
install -D -m644 LICENSE $pkgdir/opt/share/licenses/$pkgname/LICENSE
}