development/libbitcoin: Updated for version 2.11.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-02-04 01:27:36 +07:00
parent 705d8115d2
commit 95c2c3bacd
3 changed files with 11 additions and 30 deletions

View file

@ -1,16 +0,0 @@
Description: Fix FTBFS due to unknown std::cout
Author: Martin Pitt <martin.pitt@ubuntu.com>
Forwarded: No, file is gone in latest upstream
Index: libbitcoin-2.0/src/utility/mnemonic.cpp
===================================================================
--- libbitcoin-2.0.orig/src/utility/mnemonic.cpp
+++ libbitcoin-2.0/src/utility/mnemonic.cpp
@@ -21,6 +21,7 @@
#include <algorithm>
#include <sstream>
+#include <iostream>
#include <bitcoin/utility/assert.hpp>
namespace libbitcoin {

View file

@ -23,13 +23,13 @@
# THE SOFTWARE.
PRGNAM=libbitcoin
VERSION=${VERSION:-2.0}
VERSION=${VERSION:-2.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -69,10 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix missing include (thanks to Debian)
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791092;msg=12
patch -p1 < $CWD/libbitcoin-2.0_mnemonic.cpp.patch
autoreconf -i
if [ -e /usr/include/leveldb/db.h ]; then
@ -113,7 +109,8 @@ if [ -e /usr/bin/sphinx-build ]; then
$PKG/usr/doc/$PRGNAM-$VERSION
fi
cp -a AUTHORS COPYING INSTALL LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
rm $PKG/usr/doc/$PRGNAM-$VERSION/README
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="libbitcoin"
VERSION="2.0"
VERSION="2.11.0"
HOMEPAGE="http://libbitcoin.dyne.org/"
DOWNLOAD="http://libbitcoin.dyne.org/download/libbitcoin-2.0.tar.bz2"
MD5SUM="7bbb513df6c9721aa383fc69b14f67e2"
DOWNLOAD="https://github.com/libbitcoin/libbitcoin/archive/v2.11.0.tar.gz"
MD5SUM="cd3dd9dc2ab2d9445c0ad10683ab321e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="secp256k1"
MAINTAINER="Shawn Pringle B.Sc."
EMAIL="shawn.pringle@gmail.com"