aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkus reichelt <slackbuilds@mareichelt.de>2011-10-15 08:37:24 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-22 10:17:07 -0200
commit36a7c8dda3f301edf6eea338de11a50269bca242 (patch)
treea4410b331ac78d0b078fa1053b9a23818b344a90
parentfd3d12b73a68a36dc72dba9461166df65aeb6d78 (diff)
libraries/Botan: Updated for version 1.10.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-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"