aboutsummaryrefslogtreecommitdiffstats
path: root/core/openssl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-13 12:12:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-14 06:10:48 +0000
commitad65b4c42d429a91c801b6704ac652ec2c149323 (patch)
treeb8ace1f237150e75af586b9628e65c529c50e0da /core/openssl/APKBUILD
parent6b472ba7bc6074868d965bdcb9d88e26750c02ab (diff)
downloadaports-ad65b4c42d429a91c801b6704ac652ec2c149323.tar.bz2
aports-ad65b4c42d429a91c801b6704ac652ec2c149323.tar.xz
core/openssl: split libcrypto to separate subpackage
Diffstat (limited to 'core/openssl/APKBUILD')
-rw-r--r--core/openssl/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/openssl/APKBUILD b/core/openssl/APKBUILD
index aa2f5b6311..b6f273aac6 100644
--- a/core/openssl/APKBUILD
+++ b/core/openssl/APKBUILD
@@ -8,7 +8,7 @@ depends=
makedepends="perl"
license="openssl"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc libcrypto"
source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
http://www.linuxfromscratch.org/patches/downloads/openssl/openssl-0.9.8g-fix_manpages-1.patch
@@ -30,6 +30,13 @@ build() {
make -j1 INSTALL_PREFIX="$pkgdir" MANDIR=/usr/share/man install
}
+libcrypto() {
+ pkgdesc="Crypto library from openssl"
+ mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libcrypto* "$subpkgdir"/lib/
+ mv "$pkgdir"/usr/lib/engines "$subpkgdir"/usr/lib/
+}
+
md5sums="e555c6d58d276aec7fdc53363e338ab3 openssl-0.9.8k.tar.gz
04a6a88c2ee4badd4f8649792b73eaf3 openssl-0.9.8g-fix_manpages-1.patch
c6a9857a5dbd30cead0404aa7dd73977 openssl-bb-basename.patch