aboutsummaryrefslogtreecommitdiff
path: root/development/libbitcoin
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-04 01:27:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:20 +0700
commit95c2c3bacd408b745e4c9546cbc093dff580bb87 (patch)
treeab96c543db8e18b48a6110ec18e1f7a389fefd0a /development/libbitcoin
parent705d8115d25075da44274557b771e7e41cdf11ae (diff)
development/libbitcoin: Updated for version 2.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/libbitcoin')
-rw-r--r--development/libbitcoin/libbitcoin-2.0_mnemonic.cpp.patch16
-rw-r--r--development/libbitcoin/libbitcoin.SlackBuild17
-rw-r--r--development/libbitcoin/libbitcoin.info8
3 files changed, 11 insertions, 30 deletions
diff --git a/development/libbitcoin/libbitcoin-2.0_mnemonic.cpp.patch b/development/libbitcoin/libbitcoin-2.0_mnemonic.cpp.patch
deleted file mode 100644
index 359ba81d7c55f..0000000000000
--- a/development/libbitcoin/libbitcoin-2.0_mnemonic.cpp.patch
+++ /dev/null
@@ -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 {
diff --git a/development/libbitcoin/libbitcoin.SlackBuild b/development/libbitcoin/libbitcoin.SlackBuild
index a48a495ded5f9..2293c2d8e45ff 100644
--- a/development/libbitcoin/libbitcoin.SlackBuild
+++ b/development/libbitcoin/libbitcoin.SlackBuild
@@ -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
diff --git a/development/libbitcoin/libbitcoin.info b/development/libbitcoin/libbitcoin.info
index ce7bc93c95312..7f990590ec143 100644
--- a/development/libbitcoin/libbitcoin.info
+++ b/development/libbitcoin/libbitcoin.info
@@ -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"