diff --git a/srcpkgs/bitcoin-qt b/srcpkgs/bitcoin-qt new file mode 120000 index 00000000000..f3c13956326 --- /dev/null +++ b/srcpkgs/bitcoin-qt @@ -0,0 +1 @@ +bitcoin \ No newline at end of file diff --git a/srcpkgs/bitcoin/bitcoin-qt.rshlibs b/srcpkgs/bitcoin/bitcoin-qt.rshlibs new file mode 100644 index 00000000000..e781080cc40 --- /dev/null +++ b/srcpkgs/bitcoin/bitcoin-qt.rshlibs @@ -0,0 +1,16 @@ +libminiupnpc.so.8 +librt.so.1 +libssl.so.1 +libcrypto.so.1 +libdb_cxx-4.8.so +libboost_system.so.1.50.0 +libboost_filesystem.so.1.50.0 +libboost_program_options.so.1.50.0 +libboost_thread.so.1.50.0 +libQtGui.so.4 +libQtCore.so.4 +libpthread.so.0 +libstdc++.so.6 +libm.so.6 +libgcc_s.so.1 +libc.so.6 diff --git a/srcpkgs/bitcoin/bitcoin-qt.template b/srcpkgs/bitcoin/bitcoin-qt.template new file mode 100644 index 00000000000..a00fe521de9 --- /dev/null +++ b/srcpkgs/bitcoin/bitcoin-qt.template @@ -0,0 +1,13 @@ +# Template file for 'bitcoin-qt'. +# +depends="desktop-file-utils" +short_desc="${short_desc} -- QT GUI" +long_desc="${long_desc} + + This package contains the QT GUI." + +do_install() { + vinstall bitcoin-qt 755 usr/bin + vinstall contrib/debian/bitcoin-qt.desktop 644 usr/share/applications + vinstall share/pixmaps/bitcoin80.xpm 644 usr/share/pixmaps +} diff --git a/srcpkgs/bitcoin/bitcoin.rshlibs b/srcpkgs/bitcoin/bitcoin.rshlibs new file mode 100644 index 00000000000..1d9d4a29ec1 --- /dev/null +++ b/srcpkgs/bitcoin/bitcoin.rshlibs @@ -0,0 +1,13 @@ +libboost_system.so.1.50.0 +libboost_filesystem.so.1.50.0 +libboost_program_options.so.1.50.0 +libboost_thread.so.1.50.0 +libdb_cxx-4.8.so +libssl.so.1 +libcrypto.so.1 +libminiupnpc.so.8 +libpthread.so.0 +libstdc++.so.6 +libm.so.6 +libgcc_s.so.1 +libc.so.6 diff --git a/srcpkgs/bitcoin/template b/srcpkgs/bitcoin/template new file mode 100644 index 00000000000..083cdd37c62 --- /dev/null +++ b/srcpkgs/bitcoin/template @@ -0,0 +1,34 @@ +# Template file for 'bitcoin' +pkgname=bitcoin +version=0.6.3 +revision=1 +wrksrc="bitcoin-bitcoin-bbe1084" +subpackages="bitcoin-qt" +makedepends="which qt-devel boost-devel automoc4 miniupnpc-devel" +short_desc="Bitcoin is a peer-to-peer network based digital currency" +maintainer="Juan RP " +license="GPL-3" +homepage="http://www.bitcoin.org/" +distfiles="http://xbps.nopcode.org/distfiles/$pkgname-$version.tar.gz" +checksum=3f1a0df5d713c9e4f54f00a8f3f75c6828041afd826e16976b00229de0aecb70 +long_desc=" + Bitcoin is an experimental new digital currency that enables instant payments + to anyone, anywhere in the world. Bitcoin uses peer-to-peer technology to + operate with no central authority: managing transactions and issuing money are + carried out collectively by the network. Bitcoin is also the name of the open + source software which enables the use of this currency." + +do_build() { + # qt gui + qmake && make ${makejobs} + # daemon + make -f makefile.unix -C src ${makejobs} USE_UPNP=1 +} + +do_install() { + vinstall src/bitcoind 755 usr/bin + vinstall contrib/debian/examples/bitcoin.conf 644 usr/share/examples/$pkgname + vinstall contrib/debian/manpages/bitcoind.1 644 usr/share/man/man1 + vinstall contrib/debian/manpages/bitcoin.conf.5 644 usr/share/man/man5 + vinstall COPYING 644 usr/share/licenses/$pkgname +}