Package fixes.
[shibboleth/cpp-xmltooling.git] / dependencies / openssl / postinstall
1 #!/bin/sh
2
3 cd ${CLIENT_BASEDIR}/lib/pkgconfig
4
5 sed "s|^prefix=.*|prefix=${CLIENT_BASEDIR}|1" libcrypto.pc > libcrypto.pc.tmp
6 mv libcrypto.pc.tmp libcrypto.pc
7 chmod 644 libcrypto.pc
8
9 sed "s|^prefix=.*|prefix=${CLIENT_BASEDIR}|1" libssl.pc > libssl.pc.tmp
10 mv libssl.pc.tmp libssl.pc
11 chmod 644 libssl.pc
12
13 sed "s|^prefix=.*|prefix=${CLIENT_BASEDIR}|1" openssl.pc > openssl.pc.tmp
14 mv openssl.pc.tmp openssl.pc
15 chmod 644 openssl.pc
16
17 exit 0