X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fxmltooling.git;a=blobdiff_plain;f=dependencies%2Fopenssl%2Fpostinstall;fp=dependencies%2Fopenssl%2Fpostinstall;h=f19e1cfa7bc919e3cf6b0dab36319bcfcfc87058;hp=0000000000000000000000000000000000000000;hb=630865c301cb48461c332cd5629b9dfac2c15ee8;hpb=8a37d4ba76e893c6d9f87f0d1e57732328ad1cb4 diff --git a/dependencies/openssl/postinstall b/dependencies/openssl/postinstall new file mode 100644 index 0000000..f19e1cf --- /dev/null +++ b/dependencies/openssl/postinstall @@ -0,0 +1,17 @@ +#!/bin/sh + +cd ${CLIENT_BASEDIR}/lib/pkgconfig + +sed "s|^prefix=.*|prefix=${CLIENT_BASEDIR}|1" libcrypto.pc > libcrypto.pc.tmp +mv libcrypto.pc.tmp libcrypto.pc +chmod 644 libcrypto.pc + +sed "s|^prefix=.*|prefix=${CLIENT_BASEDIR}|1" libssl.pc > libssl.pc.tmp +mv libssl.pc.tmp libssl.pc +chmod 644 libssl.pc + +sed "s|^prefix=.*|prefix=${CLIENT_BASEDIR}|1" openssl.pc > openssl.pc.tmp +mv openssl.pc.tmp openssl.pc +chmod 644 openssl.pc + +exit 0