From 7bc18be8dadd837a3d7ba79c6fcda7c070310af0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 13 Jul 2009 19:24:19 +0000 Subject: core/openssl: create symlinks to libcrypto in /usr/lib/ Otherwise will packages using pkg-config link statically to libcrypto. --- core/openssl/APKBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/openssl/APKBUILD b/core/openssl/APKBUILD index b6f273aa..46d1e064 100644 --- a/core/openssl/APKBUILD +++ b/core/openssl/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=openssl pkgver=0.9.8k -pkgrel=2 +pkgrel=3 pkgdesc="Toolkit for SSL v2/v3 and TLS v1" url=http://openssl.org depends= @@ -33,7 +33,10 @@ build() { libcrypto() { pkgdesc="Crypto library from openssl" mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/libcrypto* "$subpkgdir"/lib/ + for i in "$pkgdir"/usr/lib/libcrypto*; do + mv $i "$subpkgdir"/lib/ + ln -s ../../lib/${i##*/} "$subpkgdir"/usr/lib/${i##*/} + done mv "$pkgdir"/usr/lib/engines "$subpkgdir"/usr/lib/ } -- cgit v1.2.3