summaryrefslogtreecommitdiff
path: root/libraries/Botan/Botan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Botan/Botan.SlackBuild')
-rw-r--r--libraries/Botan/Botan.SlackBuild22
1 files changed, 5 insertions, 17 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild
index 4972cc4681..2d048dbd9d 100644
--- a/libraries/Botan/Botan.SlackBuild
+++ b/libraries/Botan/Botan.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Botan
-# Copyright (c) 2010 Markus Reichelt, Aachen, DE
+# Copyright (c) 2010,2011 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -25,9 +25,10 @@
#
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# 2010 June 22 - initial release
-
+# 2011 August 28 - adapted to v1.8.13
+
PRGNAM=Botan
-VERSION=${VERSION:-1.8.11}
+VERSION=${VERSION:-1.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,7 +57,7 @@ elif [ "$ARCH" = "x86_64" ]; then
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
-fi
+fi
set -e
@@ -81,12 +82,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=doc \
--libdir=lib$LIBDIRSUFFIX
-## generate man page files. choose whatever is preferred, clean replace or kludge
-sed -i "s/GENERATE_MAN = NO/GENERATE_MAN = YES/" build/botan.doxy
-sed -i "s/MAN_LINKS = NO/MAN_LINKS = YES/" build/botan.doxy
-#echo "GENERATE_MAN = YES" >> build/botan.doxy
-#echo "MAN_LINKS = YES" >> build/botan.doxy
-
make
make check
make doxygen
@@ -99,13 +94,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find doc -type d -exec chmod 0755 {} \;
find doc -type f -exec chmod 0644 {} \;
-cp -a doc/doxygen/man $PKG/usr
-rm $PKG/usr/man/man3/_*
-# Don't overwrite stock man pages.
-mv $PKG/usr/man/man3/UNIVERSAL.3 $PKG/usr/man/man3/$PRGNAM-UNIVERSAL.3
-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
-
cp -a doc/doxygen/html doc/examples doc/scripts \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild