diff options
Diffstat (limited to 'abs/core/openssl')
-rw-r--r-- | abs/core/openssl/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/openssl/PKGBUILD b/abs/core/openssl/PKGBUILD new file mode 100644 index 0000000..ec3fe68 --- /dev/null +++ b/abs/core/openssl/PKGBUILD @@ -0,0 +1,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 +} |