diff options
Diffstat (limited to 'libraries/Botan')
-rw-r--r-- | libraries/Botan/Botan.SlackBuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild index c124ecc55f722..eb3a05c80b7d8 100644 --- a/libraries/Botan/Botan.SlackBuild +++ b/libraries/Botan/Botan.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Botan -# Copyright (c) 2010,2011 Markus Reichelt, Aachen, DE +# Copyright (c) 2010-2012 Markus Reichelt, Aachen, DE # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -27,10 +27,11 @@ # 2010 Jun 22 - initial release # 2011 Aug 28 - adapted to Botan-1.8.13 # 2011 Sep 07 - adapted to Botan-1.10.1 +# 2012 Jan 11 - include python wrapper PRGNAM=Botan VERSION=${VERSION:-1.10.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} #this kludge is required, courtesy of upstream @@ -85,9 +86,16 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --docdir=doc \ --libdir=lib$LIBDIRSUFFIX \ + --with-boost-python \ --with-doxygen +sed -i 's/lbotan/lbotan-1.10/' Makefile.python + make +make -f Makefile.python +make -f Makefile.python install \ + PYTHON_ROOT=/usr/lib$LIBDIRSUFFIX/python2.6/config \ + PYTHON_SITE_PACKAGE_DIR=$PKG/usr/lib$LIBDIRSUFFIX/python2.6/site-packages make install DESTDIR=$PKG/usr find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -96,6 +104,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ # Fix some stupid permissions before we move stuff. find doc -type d -exec chmod 0755 {} \; find doc -type f -exec chmod 0644 {} \; +chmod 0755 doc/examples/python/*.py mv $PKG/usr/doc/$PRGNAMI-$VERSION/doxygen/ $PKG/usr/doc/$PRGNAMI-$VERSION/html/ |