Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Disable the compilation of libsecp256k1 from source and use the system library
4 # instead by setint the environment variable ELECTRUM_ECC_DONT_COMPILE to 1.
5 # This is based on the logic in setup.py.
6 export ELECTRUM_ECC_DONT_COMPILE=1
7
8 %:
9 dh $@ --buildsystem=pybuild
10
11 override_dh_gencontrol:
12 # Add the correct library package to python3-electrum-ecc's depends.
13 # The library package name is not automatically detected by the build
14 # system.
15 dh_gencontrol -- -Vlibsecp256k1dep="$(shell dpkg-query -f \
16 '$${Depends}' -W libsecp256k1-dev | \
17 grep -oE 'libsecp256k1-\S+')"