mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
network/bitcoin: Updated for version 0.7.2, cleanups.
(Fixed deps info, autodetect miniupnpc --ponce) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
83ad785c47
commit
12de7751f9
3 changed files with 16 additions and 13 deletions
|
@ -2,12 +2,10 @@ bitcoin (P2P electronic cash system)
|
|||
|
||||
Bitcoin is a free open source peer-to-peer electronic cash system
|
||||
that is completely decentralized, without the need for a central
|
||||
server or trusted parties. Users hold the crypto keys to their own
|
||||
money and transact directly with each other, with the help of
|
||||
a P2P network to check for double-spending.
|
||||
server or trusted parties. Users hold the crypto keys to their
|
||||
own money and transact directly with each other, with the help
|
||||
of a P2P network to check for double-spending.
|
||||
|
||||
This requires: qrencode
|
||||
|
||||
UPNP is disabled, it requires miniupnpc, which is not available on SBo.
|
||||
UPNP is disabled, it requires the optional dependency miniupnpc.
|
||||
|
||||
Package provides both, bitcoin-qt (GUI) and bitcoind (CLI).
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=bitcoin
|
||||
VERSION=${VERSION:-0.7.1}
|
||||
VERSION=${VERSION:-0.7.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -54,6 +54,9 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# Detect miniupnpc
|
||||
if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -75,7 +78,7 @@ cd src
|
|||
qmake \
|
||||
QMAKE_CFLAGS+="$SLKCFLAGS" \
|
||||
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
|
||||
"USE_UPNP=-" \
|
||||
"USE_UPNP=$UPNP" \
|
||||
USE_SSL=1 \
|
||||
USE_QRCODE=1
|
||||
|
||||
|
@ -84,8 +87,10 @@ make
|
|||
# build bitcoind
|
||||
cd src
|
||||
|
||||
# disable UPNP(this would require miniupnpc)
|
||||
sed -i 's/USE_UPNP:=0/USE_UPNP:=/g' makefile.unix
|
||||
if [ "$UPNP" = "-" ]; then
|
||||
# disable UPNP
|
||||
sed -i 's/USE_UPNP:=0/USE_UPNP:=/g' makefile.unix
|
||||
fi
|
||||
|
||||
# disable static linking, not supported by boost in slackware
|
||||
sed -i 's/Bstatic/Bdynamic/g' makefile.unix
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="bitcoin"
|
||||
VERSION="0.7.1"
|
||||
VERSION="0.7.2"
|
||||
HOMEPAGE="http://www.bitcoin.org"
|
||||
DOWNLOAD="http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.1/bitcoin-0.7.1-linux.tar.gz"
|
||||
MD5SUM="e286c5de8489095d54e8a6a0e01cb1ab"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/bitcoin/bitcoin-0.7.2-linux.tar.gz"
|
||||
MD5SUM="a9596526a3c9d62cbcab5dd45957c717"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="qrencode"
|
||||
|
|
Loading…
Reference in a new issue