PKGBUILDs/core/openssl/PKGBUILD

30 lines
843 B
Bash
Raw Normal View History

# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
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=/usr --openssldir=/etc/ssl shared zlib -Wa,--noexecstack
make
make test
make INSTALL_PREFIX=$pkgdir MANDIR=/usr/share/man install
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}