[Lunar-commits] <moonbase-other> bitcoin: introduction to -other

v4hn me at v4hn.de
Mon Aug 20 15:58:51 CEST 2012


commit 7ced824f892e5ca0d1190db45c2803fbe77069d0
Author: v4hn <me at v4hn.de>
Date: Mon, 20 Aug 2012 06:58:51 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/7ced824f892e5ca0d1190db45c2803fbe77069d0

bitcoin: introduction to -other
---
  crypto/bitcoin/BUILD                                         +38/-0    
  crypto/bitcoin/CONFIGURE                                     +1/-0     
  crypto/bitcoin/DEPENDS                                       +12/-0    
  crypto/bitcoin/DETAILS                                       +20/-0    
  4 files changed, 71 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/crypto/bitcoin/BUILD
@@ -0,0 +1,38 @@
+(
+
+  cd src/ &&
+
+  # we don't have libboost_thread single threaded
+  sedit "s:\(-l *boost_thread[^ ]*\):\1-mt:" bitcoin-qt.pro src/makefile.unix &&
+  # see DEPENDS
+  OPTS+=" USE_UPNP=-" &&
+
+  cd src/ &&
+  make -f makefile.unix $OPTS &&
+  cd .. &&
+
+  if in_depends $MODULE "qt4" ; then
+     # RELEASE=1 tries to build everything static, but we have no static libs
+     qmake $OPTS &&
+     make
+  fi &&
+
+  prepare_install &&
+
+  install -Dm0755 src/bitcoind /usr/bin/bitcoind &&
+
+  install -Dm0644 contrib/debian/manpages/bitcoind.1 /usr/share/man/man1/bitcoind.1 &&
+  install -Dm0644 contrib/debian/manpages/bitcoin.conf.5 /usr/share/man/man5/bitcoin.conf.5 &&
+
+  if in_depends $MODULE "qt4" ; then
+     install -Dm0755 bitcoin-qt /usr/bin/bitcoin-qt &&
+     install -Dm0644 share/pixmaps/bitcoin80.xpm /usr/share/pixmaps/bitcoin80.xpm &&
+     install -Dm0644 share/pixmaps/bitcoin32.xpm /usr/share/pixmaps/bitcoin32.xpm &&
+     install -Dm0644 contrib/debian/bitcoin-qt.desktop /usr/share/applications/bitcoin-qt.desktop
+  fi &&
+
+  cd contrib/ &&
+  install -Dm0644 debian/examples/bitcoin.conf /usr/share/doc/$MODULE/bitcoin.conf.example &&
+  gather_docs pyminer bitrpc
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/crypto/bitcoin/CONFIGURE
@@ -0,0 +1 @@
+mquery FCM "build with first-class messaging" n "FIRST_CLASS_MESSAGING=1" "FIRST_CLASS_MESSAGING=0"
--- /dev/null
+++ b/crypto/bitcoin/DEPENDS
@@ -0,0 +1,12 @@
+depends boost
+depends openssl
+depends db
+
+# yes, $3 is a space and that's ok!
+optional_depends qt4 "" " " "build bitcoin-qt interface (say no to dbus and qrencode if you say no here)"
+
+optional_depends dbus "USE_DBUS=1" "USE_DBUS=0" "for notification support"
+optional_depends qrencode "USE_QRCODE=1" "USE_QRCODE=0" "for QRCode generator"
+
+# There is no such module in moonbase atm
+#optional_depends miniupnp "USE_UPNP=1" "USE_UPNP=-" "for UPnP port forwarding"
--- /dev/null
+++ b/crypto/bitcoin/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=bitcoin
+         VERSION=0.6.3
+          SOURCE=$MODULE-$VERSION-linux.tar.gz
+      SOURCE_URL=$SFORGE_URL/$MODULE/Bitcoin/$MODULE-$VERSION/
+      SOURCE_VFY=sha1:393fc3abf61675bab66c354ce1285940193107af
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/bitcoin-$VERSION-linux
+        WEB_SITE=http://bitcoin.org
+         ENTERED=20120820
+         UPDATED=20120820
+           SHORT="Bitcoin peer-to-peer client"
+
+cat << EOF
+This application is a peer-to-peer client
+that builds the backbone of the Bitcoin network.
+It is suited for enthusiasts, merchants, miners,
+developers and people who want to help support
+the project. People who run Bitcoin-Qt are first
+class network citizens and have the highest levels
+of security, privacy and stability.
+EOF




More information about the Lunar-commits mailing list