From 36a7c8dda3f301edf6eea338de11a50269bca242 Mon Sep 17 00:00:00 2001 From: markus reichelt Date: Sat, 15 Oct 2011 08:37:24 -0500 Subject: libraries/Botan: Updated for version 1.10.1. Signed-off-by: Erik Hanson --- libraries/Botan/Botan.SlackBuild | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'libraries/Botan/Botan.SlackBuild') 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 -- cgit v1.2.3