diff options
author | markus reichelt <slackbuilds@mareichelt.de> | 2011-05-31 21:47:56 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-13 01:31:21 -0400 |
commit | cece546129c2819a463f7d38dac21ed3bc1586cf (patch) | |
tree | 382b27e0aa66af49cf5810577a223d03df7fa086 /libraries/cryptopp/cryptopp.SlackBuild | |
parent | 2359a6e56f32f07c4edcf7eb71834e51fa7d2bcf (diff) |
libraries/cryptopp: Updated for version 5.6.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/cryptopp/cryptopp.SlackBuild')
-rw-r--r-- | libraries/cryptopp/cryptopp.SlackBuild | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 8c6384b77c18..88572443eff8 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -2,9 +2,15 @@ # Slackware build script for cryptopp # Written by Iskar Enev (iskar.enev@gmail.com) +# +# Maintained by markus reichelt <slackbuilds@mareichelt.de> 0xCCEEF115 +# 2011 Apr 02 - adapt GNUmakefile to v5.6.1 +# create proper html documentation (optional via DOC=yes) +# in case you also want man pages installed along html doc, +# read comments below and adapt accordingly PRGNAM=cryptopp -VERSION=${VERSION:-5.6.0} +VERSION=${VERSION:-5.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,7 +59,10 @@ find . \ -exec chmod 644 {} \; # Fix Makefile to install correctly on x86_64. -sed -i -e "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile +sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile + +# Fix Makefile to remove copying of non-existent *.so (else make install will fail) +sed -i "/*.so/d" GNUmakefile make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make install PREFIX=$PKG/usr @@ -65,6 +74,22 @@ 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 +if [ "$DOC" = "yes" ]; then + # Fix Doxyfile to create man pages + # sed -i "s/GENERATE_MAN = NO/GENERATE_MAN = YES/" Doxyfile + # sed -i "s/MAN_LINKS = NO/MAN_LINKS = YES/" Doxyfile + + doxygen Doxyfile + + cp -a doc/html $PKG/usr/doc/$PRGNAM-$VERSION + + # uncomment the following to also have man 3 pages prepared and installed + # cp -a doc/man $PKG/usr + # rm $PKG/usr/man/man3/_* + # find $PKG/usr/man -type f -exec gzip -9 {} \; + # for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |