Projects : bitcoin : bitcoin_tx_fee_cleanup

bitcoin/deps/Makefile

Dir - Raw

1SHA512=sha512sum
2CHECKSUM_OR_DIE=grep " $@$$" Manifest.sha512 | $(SHA512) -c || (mv $@ $@.badsum && false)
3DECODE_DEED=cat $@.asc | sed -e '1,/begin-base64/d' -e '/====/,$$d' | base64 -d > $@
4VERIFY_DEED_OR_DIE=gpg --verify $@.asc || (mv $@.asc $@.asc.badsig && false)
5
6TURDS = boost_1_52_0.tar.bz2 db-4.8.30.tar.gz openssl-1.0.1g.tar.gz
7all: $(TURDS)
8
9check:
10 $(SHA512) -c Manifest.sha512
11
12clean:
13 rm -f $(TURDS) boost_1_52_0.tar.bz2.asc db-4.8.30.tar.gz.asc openssl-1.0.1g.tar.gz.asc
14
15boost_1_52_0.tar.bz2:
16ifdef ONLINE
17 curl -s http://deedbot.org/deed-422651-1.txt -o $@.asc
18endif
19 $(VERIFY_DEED_OR_DIE)
20 $(DECODE_DEED)
21 $(CHECKSUM_OR_DIE)
22
23db-4.8.30.tar.gz:
24ifdef ONLINE
25 curl -s http://deedbot.org/deed-422651-3.txt -o $@.asc
26endif
27 $(VERIFY_DEED_OR_DIE)
28 $(DECODE_DEED)
29 $(CHECKSUM_OR_DIE)
30
31openssl-1.0.1g.tar.gz:
32ifdef ONLINE
33 curl -s http://deedbot.org/deed-422651-4.txt -o $@.asc
34endif
35 $(VERIFY_DEED_OR_DIE)
36 $(DECODE_DEED)
37 $(CHECKSUM_OR_DIE)