diff options
Diffstat (limited to 'network/bitcoin')
-rw-r--r-- | network/bitcoin/README | 2 | ||||
-rw-r--r-- | network/bitcoin/bitcoin.SlackBuild | 24 | ||||
-rw-r--r-- | network/bitcoin/bitcoin.info | 8 |
3 files changed, 16 insertions, 18 deletions
diff --git a/network/bitcoin/README b/network/bitcoin/README index 255ec8cab6..7e3be4ea05 100644 --- a/network/bitcoin/README +++ b/network/bitcoin/README @@ -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/23.0/ +https://bitcoincore.org/en/releases/27.0/ diff --git a/network/bitcoin/bitcoin.SlackBuild b/network/bitcoin/bitcoin.SlackBuild index b8c6a11c5c..7e5142b0ed 100644 --- a/network/bitcoin/bitcoin.SlackBuild +++ b/network/bitcoin/bitcoin.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bitcoin -# Copyright 2012 nomnombtc <nomnombtc@arcor.de> +# Copyright 2012-2024 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:-23.0} +VERSION=${VERSION:-27.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -59,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="" @@ -83,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 \ @@ -93,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} @@ -120,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 diff --git a/network/bitcoin/bitcoin.info b/network/bitcoin/bitcoin.info index 53e577a7ea..47b798acfb 100644 --- a/network/bitcoin/bitcoin.info +++ b/network/bitcoin/bitcoin.info @@ -1,10 +1,10 @@ PRGNAM="bitcoin" -VERSION="23.0" +VERSION="27.0" HOMEPAGE="https://bitcoincore.org" -DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-23.0/bitcoin-23.0.tar.gz" -MD5SUM="250d1239691f8338a7cc4e5439a0ff29" +DOWNLOAD="https://bitcoincore.org/bin/bitcoin-core-27.0/bitcoin-27.0.tar.gz" +MD5SUM="0850dc36e811ad780123f12083974a5f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="protobuf3" +REQUIRES="" MAINTAINER="nomnombtc" EMAIL="nomnombtc@arcor.de" |