Skip to content

Commit

Permalink
Update contrib/debian for autotools, among a few other tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Apr 27, 2014
1 parent 4765b8c commit 6e40fcf
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 20 deletions.
2 changes: 1 addition & 1 deletion contrib/debian/bitcoin-qt.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bitcoin-qt usr/bin
usr/local/bin/bitcoin-qt usr/bin
share/pixmaps/bitcoin32.xpm usr/share/pixmaps
share/pixmaps/bitcoin16.xpm usr/share/pixmaps
share/pixmaps/bitcoin128.png usr/share/pixmaps
Expand Down
3 changes: 2 additions & 1 deletion contrib/debian/bitcoind.install
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/bitcoind usr/bin
usr/local/bin/bitcoind usr/bin
usr/local/bin/bitcoin-cli usr/bin
13 changes: 13 additions & 0 deletions contrib/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
bitcoin (0.9.1-precise1) precise; urgency=medium

* New upstream release.
* Backport pull #4019

-- Matt Corallo <[email protected]> Sat, 19 Apr 2014 17:29:00 -0400

bitcoin (0.9.0-precise1) precise; urgency=medium

* New upstream release.

-- Matt Corallo <[email protected]> Thu, 20 Mar 2014 13:10:00 -0400

bitcoin (0.8.6-precise1) precise; urgency=medium

* New upstream release.
Expand Down
8 changes: 5 additions & 3 deletions contrib/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Maintainer: Jonas Smedegaard <[email protected]>
Uploaders: Micah Anderson <[email protected]>
Build-Depends: debhelper,
devscripts,
automake,
bash-completion,
libboost-system-dev (>> 1.35) | libboost-system1.35-dev,
libdb4.8++-dev,
Expand All @@ -17,7 +18,8 @@ Build-Depends: debhelper,
libboost-test-dev (>> 1.35) | libboost-test1.35-dev,
qt4-qmake,
libqt4-dev,
libqrencode-dev
libqrencode-dev,
libprotobuf-dev, protobuf-compiler
Standards-Version: 3.9.2
Homepage: http://www.bitcoin.org/
Vcs-Git: git://github.com/bitcoin/bitcoin.git
Expand All @@ -34,7 +36,7 @@ Description: peer-to-peer network based digital currency - daemon
check for double-spending.
.
Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing.
requires 20+ GB of space, slowly growing.
.
This package provides bitcoind, a combined daemon and CLI tool to
interact with the daemon.
Expand All @@ -50,6 +52,6 @@ Description: peer-to-peer network based digital currency - Qt GUI
check for double-spending.
.
Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing.
requires 20+ GB of space, slowly growing.
.
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt.
21 changes: 6 additions & 15 deletions contrib/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,14 @@ DEB_INSTALL_MANPAGES_bitcoind += debian/manpages/*
%:
dh --with bash-completion $@

override_dh_auto_build:
cd src; $(MAKE) -f makefile.unix bitcoind
$(MAKE)

override_dh_auto_clean:
if [ -f Makefile ]; then $(MAKE) clean; else rm -rf build/; rm -f bitcoin-qt; fi
cd src; $(MAKE) -f makefile.unix clean
if [ -f Makefile ]; then $(MAKE) distclean; fi
rm -rf Makefile.in aclocal.m4 configure src/Makefile.in src/bitcoin-config.h.in src/build-aux src/qt/Makefile.in src/qt/test/Makefile.in src/test/Makefile.in

# Yea, autogen should be run on the source archive, but I like doing git archive
override_dh_auto_configure:
qmake bitcoin-qt.pro USE_QRCODE=1
./autogen.sh
./configure

override_dh_auto_test:
cd src; $(MAKE) -f makefile.unix test_bitcoin
src/test_bitcoin

# Ensure wrapper is set executable
binary-post-install/bitcoind:
chmod +x $(cdbs_curdestdir)usr/bin/bitcoind
binary-post-install/bitcoin-qt:
chmod +x $(cdbs_curdestdir)usr/bin/bitcoin-qt
make check

0 comments on commit 6e40fcf

Please sign in to comment.