aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/Botan/Botan.SlackBuild29
-rw-r--r--libraries/Botan/Botan.info8
2 files changed, 24 insertions, 13 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild
index 2d048dbd9d1ce..c124ecc55f722 100644
--- a/libraries/Botan/Botan.SlackBuild
+++ b/libraries/Botan/Botan.SlackBuild
@@ -24,14 +24,18 @@
# SUCH DAMAGE.
#
# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
-# 2010 June 22 - initial release
-# 2011 August 28 - adapted to v1.8.13
+# 2010 Jun 22 - initial release
+# 2011 Aug 28 - adapted to Botan-1.8.13
+# 2011 Sep 07 - adapted to Botan-1.10.1
PRGNAM=Botan
-VERSION=${VERSION:-1.8.13}
+VERSION=${VERSION:-1.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+#this kludge is required, courtesy of upstream
+PRGNAMI=botan
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -80,11 +84,10 @@ CXXFLAGS="$SLKCFLAGS" \
./configure.py \
--prefix=/usr \
--docdir=doc \
- --libdir=lib$LIBDIRSUFFIX
+ --libdir=lib$LIBDIRSUFFIX \
+ --with-doxygen
make
-make check
-make doxygen
make install DESTDIR=$PKG/usr
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -94,9 +97,17 @@ 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/html doc/examples doc/scripts \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/doc/$PRGNAMI-$VERSION/doxygen/ $PKG/usr/doc/$PRGNAMI-$VERSION/html/
+
+cp -a \
+ doc/examples/ \
+ $PKG/usr/doc/$PRGNAMI-$VERSION/
+
+cp -a \
+ doc/*.el \
+ $PKG/usr/doc/$PRGNAMI-$VERSION/manual/
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAMI-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/Botan/Botan.info b/libraries/Botan/Botan.info
index 1ede82f3affd5..ec28df6cbede5 100644
--- a/libraries/Botan/Botan.info
+++ b/libraries/Botan/Botan.info
@@ -1,10 +1,10 @@
PRGNAM="Botan"
-VERSION="1.8.13"
+VERSION="1.10.1"
HOMEPAGE="http://botan.randombit.net/"
-DOWNLOAD="http://botan.randombit.net/files/Botan-1.8.13.tbz"
-MD5SUM="26674282f146d187ba98c09a137368f5"
+DOWNLOAD="http://botan.randombit.net/files/Botan-1.10.1.tbz"
+MD5SUM="7ae93e205491a8e75115bfca983ff7f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="markus reichelt"
EMAIL="slackbuilds@mareichelt.de"
-APPROVED="dsomero"
+APPROVED="dsomero,Erik Hanson"