diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-04 01:27:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-05 07:02:20 +0700 |
commit | 95c2c3bacd408b745e4c9546cbc093dff580bb87 (patch) | |
tree | ab96c543db8e18b48a6110ec18e1f7a389fefd0a /development/libbitcoin/libbitcoin.SlackBuild | |
parent | 705d8115d25075da44274557b771e7e41cdf11ae (diff) |
development/libbitcoin: Updated for version 2.11.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/libbitcoin/libbitcoin.SlackBuild')
-rw-r--r-- | development/libbitcoin/libbitcoin.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
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 |