diff options
author | markus reichelt <slackbuilds@mareichelt.de> | 2012-02-21 16:58:44 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-03-29 10:16:24 -0500 |
commit | 62c8c4342197f97889626a68ad4b4a91e5af9304 (patch) | |
tree | bab5f4d22be361eadb8992c8da1ccf48dc7c572c | |
parent | 94c53ab7717065394ab57f6b0ae31ccbe6710c3d (diff) |
libraries/Botan: Include the python wrapper (BUILD bump)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-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 c124ecc55f72..eb3a05c80b7d 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/ |