summaryrefslogtreecommitdiffstats
path: root/abs/core/openssl/PKGBUILD
blob: ec3fe6805b13275b2e1c1559a60dc2fa59b9d0a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 9446 2008-08-17 18:04:42Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=openssl
pkgver=0.9.8h
pkgrel=13
pkgdesc='The Open Source toolkit for Secure Sockets Layer and Transport Layer Security'
arch=('i686' 'x86_64')
url='http://www.openssl.org'
license=('custom:BSD')
groups=('base')
depends=('glibc')
options=('!makeflags')
source=("http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz" \
        'http://www.linuxfromscratch.org/patches/blfs/svn/openssl-0.9.8g-fix_manpages-1.patch')
md5sums=('7d3d41dafc76cf2fcb5559963b5783b3'
         '04a6a88c2ee4badd4f8649792b73eaf3')

build() {
	cd $startdir/src/$pkgname-$pkgver

	patch -p1 -i ../openssl-0.9.8g-fix_manpages-1.patch  || return 1
	./config --prefix=/usr --openssldir=/etc/ssl shared

	make || return 1
	make INSTALL_PREFIX=$startdir/pkg MANDIR=/usr/share/man install

	install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}