diff options
Diffstat (limited to 'libraries/Botan/Botan.SlackBuild')
-rw-r--r-- | libraries/Botan/Botan.SlackBuild | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild index 2d048dbd9d..c124ecc55f 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 |