Add script for deterministic builds

This commit is contained in:
Johann Bauer
2017-11-28 00:30:06 +01:00
parent 78400478fa
commit 5778102acc
5 changed files with 55 additions and 49 deletions
+28
View File
@@ -0,0 +1,28 @@
Windows Binary Builds
=====================
These scripts can be used for cross-compilation of Windows Electrum executables from Linux/Wine.
Produced binaries are deterministic so you should be able to generate binaries that match the official releases.
Usage:
1. Install Wine 2, e.g.
```
$ sudo apt-get install wine-development
$ sudo ln -sf /usr/bin/wine-development /usr/local/bin/wine
$ wine --version
wine-2.0 (Debian 2.0-3+b2)
```
or
```
$ pacman -S wine
$ wine --version
wine-2.21
```
2. Make sure `/opt` is writable by the current user.
3. Run `build.sh`.
4. The generated binaries are in `dist`.