diff options
-rw-r--r-- | libraries/cryptopp/README | 5 | ||||
-rw-r--r-- | libraries/cryptopp/cryptopp.SlackBuild | 29 | ||||
-rw-r--r-- | libraries/cryptopp/cryptopp.info | 6 | ||||
-rw-r--r-- | libraries/cryptopp/slack-desc | 4 |
4 files changed, 36 insertions, 8 deletions
diff --git a/libraries/cryptopp/README b/libraries/cryptopp/README index 3d47b36a4f..3efbfacbaf 100644 --- a/libraries/cryptopp/README +++ b/libraries/cryptopp/README @@ -1 +1,4 @@ -Crypto++ Library is a free C++ class library of cryptographic schemes.
\ No newline at end of file +Crypto++ Library is a free C++ class library of cryptographic schemes. + +Pass DOC=yes to the script to create proper documentation (html), in +case you want man 3 pages created too, check the buildscript for hints. diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 8c6384b77c..88572443ef 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 diff --git a/libraries/cryptopp/cryptopp.info b/libraries/cryptopp/cryptopp.info index 8ad8d0bfb4..4fd91cdd48 100644 --- a/libraries/cryptopp/cryptopp.info +++ b/libraries/cryptopp/cryptopp.info @@ -1,8 +1,8 @@ PRGNAM="cryptopp" -VERSION="5.6.0" +VERSION="5.6.1" HOMEPAGE="http://www.cryptopp.com/" -DOWNLOAD="http://www.cryptopp.com/cryptopp560.zip" -MD5SUM="36f35789ad60489d58003d3c849807e8" +DOWNLOAD="http://www.cryptopp.com/cryptopp561.zip" +MD5SUM="96cbeba0907562b077e26bcffb483828" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="markus reichelt" diff --git a/libraries/cryptopp/slack-desc b/libraries/cryptopp/slack-desc index 200655ab6f..9981a14c28 100644 --- a/libraries/cryptopp/slack-desc +++ b/libraries/cryptopp/slack-desc @@ -7,10 +7,10 @@ |-----handy-ruler------------------------------------------------------| cryptopp: cryptopp (library of cryptographic schemes) -cryptopp: -cryptopp: Crypto++ Library is a free C++ class library of cryptographic schemes. cryptopp: +cryptopp: Crypto++ Library is a free C++ class library of cryptographic schemes. cryptopp: +cryptopp: Homepage: http://www.cryptopp.com/ cryptopp: cryptopp: cryptopp: |