mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
network/bitcoin: Updated for version 25.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3a8c3a9666
commit
03ca93d5da
3 changed files with 15 additions and 14 deletions
|
@ -13,4 +13,4 @@ If you just want to send and receive Bitcoins you can also look
|
|||
at a light client like Electrum.
|
||||
|
||||
Please make sure to read the release notes first before upgrading:
|
||||
https://bitcoincore.org/en/releases/25.0/
|
||||
https://bitcoincore.org/en/releases/25.1/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for bitcoin
|
||||
|
||||
# Copyright 2012 nomnombtc <nomnombtc@arcor.de>
|
||||
# Copyright 2012-2023 nomnombtc <nomnombtc@arcor.de>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=bitcoin
|
||||
VERSION=${VERSION:-25.0}
|
||||
VERSION=${VERSION:-25.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -56,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -80,7 +83,7 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# build bitcoin-core
|
||||
[ -f autogen.sh ] && sh autogen.sh
|
||||
[ -f autogen.sh ] && ./autogen.sh
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -90,15 +93,15 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--mandir=/usr/man \
|
||||
$QRCODE \
|
||||
--with-gui=qt5 \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--host=$ARCH-slackware-linux
|
||||
--disable-bench \
|
||||
--disable-tests \
|
||||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# Remove the "test" binaries. Alternatively, you can explicitly disable tests
|
||||
# by adding "--enable-tests=no" to the above configure command.
|
||||
rm $PKG/usr/bin/test*
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||
|
||||
|
@ -117,8 +120,6 @@ cp -a doc/README.md COPYING doc/assets-attribution.md \
|
|||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="bitcoin"
|
||||
VERSION="25.0"
|
||||
VERSION="25.1"
|
||||
HOMEPAGE="https://bitcoincore.org"
|
||||
DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-25.0/bitcoin-25.0.tar.gz"
|
||||
MD5SUM="ce52dde2a73fa4fa95e03d5872efd2c0"
|
||||
DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-25.1/bitcoin-25.1.tar.gz"
|
||||
MD5SUM="f88f60790a2aeb94d528bc39d1cf7917"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue