openssl: install libs with 755, add missing symlinks to shlibs.

--HG--
extra : convert_revision : d1890a53240fb879fa08b41da9d0d0e71dbe094f
This commit is contained in:
Juan RP 2010-04-27 23:52:39 +02:00
parent b5c02a40c0
commit 3ba8345b9f
1 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
pkgname=openssl
_openssl_version=1.0.0
version=${_openssl_version}
revision=1
revision=2
distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz"
build_style=configure
configure_script="./config"
@ -31,8 +31,12 @@ Add_dependency build zlib-devel
post_install()
{
chmod 755 ${DESTDIR}/usr/lib/lib{ssl,crypto}.so.${version}
chmod 755 ${DESTDIR}/usr/lib/engines/*.so
for _solib_ in libssl.so libcrypto.so; do
cd ${DESTDIR}/usr/lib && \
ln -s ${_solib_}.${version} ${_solib_}.1
ln -sf ${_solib_}.${version} ${_solib_}.1 && \
ln -sf ${_solib_}.${version} ${_solib_}
done
}