summaryrefslogtreecommitdiff
path: root/libraries/Botan/Botan.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2012-06-30 12:05:56 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-30 12:05:56 -0400
commitad61f111e566f71962c8ee44f7fe510fdf660e2a (patch)
treeac250428b849a1f2a7132a9d4e3c15c8f5266fb2 /libraries/Botan/Botan.SlackBuild
parentdb46d2c408ff3ae1fa954e625a72d217733288f6 (diff)
downloadslackbuilds-ad61f111e566f71962c8ee44f7fe510fdf660e2a.tar.gz
libraries/Botan: Updated for version 1.10.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/Botan/Botan.SlackBuild')
-rw-r--r--libraries/Botan/Botan.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild
index eb3a05c80b..ece9302152 100644
--- a/libraries/Botan/Botan.SlackBuild
+++ b/libraries/Botan/Botan.SlackBuild
@@ -23,15 +23,11 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
-# 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
+# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=Botan
-VERSION=${VERSION:-1.10.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.10.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
#this kludge is required, courtesy of upstream
@@ -89,22 +85,21 @@ CXXFLAGS="$SLKCFLAGS" \
--with-boost-python \
--with-doxygen
-sed -i 's/lbotan/lbotan-1.10/' Makefile.python
-
make
+make check
+LD_PRELOAD="./libbotan-1.10.so" ./check --test
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 \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# 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/