diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2016-09-15 18:21:19 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-15 18:27:50 +0700 |
commit | b1f6309e06543df683239371fbfa05d2d6882295 (patch) | |
tree | 2ebe88a14174d66b90f1bd37b174b64e7c0430a7 /libraries/cryptopp/cryptopp.SlackBuild | |
parent | 67bdc4365a7e48a736010891a635dde400185a27 (diff) | |
download | slackbuilds-b1f6309e06543df683239371fbfa05d2d6882295.tar.gz |
libraries/cryptopp: Bring back required .pc file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cryptopp/cryptopp.SlackBuild')
-rw-r--r-- | libraries/cryptopp/cryptopp.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 3f35780fe5..4dbceb13df 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=cryptopp VERSION=${VERSION:-5.6.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -62,6 +62,13 @@ ln -s libcryptopp.so $PKG/usr/lib${LIBDIRSUFFIX}/libcryptopp-${VERSION}.so.0 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Install a pkgconfig file +mkdir $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig +sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/$PRGNAM.pc \ + > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc +sed -i "s/5.6.2/${VERSION}/" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc + + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |