openssl: install libs with 755, add missing symlinks to shlibs.
--HG-- extra : convert_revision : d1890a53240fb879fa08b41da9d0d0e71dbe094f
This commit is contained in:
parent
b5c02a40c0
commit
3ba8345b9f
1 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
pkgname=openssl
|
pkgname=openssl
|
||||||
_openssl_version=1.0.0
|
_openssl_version=1.0.0
|
||||||
version=${_openssl_version}
|
version=${_openssl_version}
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz"
|
distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_script="./config"
|
configure_script="./config"
|
||||||
|
@ -31,8 +31,12 @@ Add_dependency build zlib-devel
|
||||||
|
|
||||||
post_install()
|
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
|
for _solib_ in libssl.so libcrypto.so; do
|
||||||
cd ${DESTDIR}/usr/lib && \
|
cd ${DESTDIR}/usr/lib && \
|
||||||
ln -s ${_solib_}.${version} ${_solib_}.1
|
ln -sf ${_solib_}.${version} ${_solib_}.1 && \
|
||||||
|
ln -sf ${_solib_}.${version} ${_solib_}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue