Skip to content

Commit c64add3

Browse files
authored
Separate section for bootstrapping
1 parent 2912eb0 commit c64add3

File tree

1 file changed

+30
-8
lines changed

1 file changed

+30
-8
lines changed

README.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,47 @@ supports signature verification, removal and extraction.
2727

2828
## BUILDING
2929

30-
This build technique works on Linux and macOS, if you have the necessary tools installed:
30+
This section covers building osslsigncode for [Unix-like](https://en.wikipedia.org/wiki/Unix-like) operating systems.
31+
See [INSTALL.W32.md](https://github.com/mtrojnar/osslsigncode/blob/master/INSTALL.W32.md) for Windows notes.
32+
33+
### Generate the ./configure script
34+
35+
This step is only needed if osslsigncode was cloned from a git repository.
36+
We highly recommend downloading a [release tarball](https://github.com/mtrojnar/osslsigncode/releases) instead.
37+
38+
* Install prerequisites on a Debian-based distributions, such as Ubuntu:
39+
```
40+
sudo apt update && sudo apt install automake pkg-config
41+
```
42+
43+
* Install prerequisites on macOS with Homebrew:
44+
```
45+
brew install automake pkg-config
46+
```
47+
48+
* Generate the ./configure script:
3149
```
3250
./bootstrap
33-
./configure
34-
make
35-
make install
3651
```
3752

38-
* On Linux, (tested on Debian/Ubuntu) you may need
53+
### Configure, build and install osslsigncode
54+
55+
* Install prerequisites on a Debian-based distributions, such as Ubuntu:
3956
```
40-
sudo apt-get update && sudo apt-get install autoconf libtool python3-pkgconfig libssl-dev libcurl4-openssl-dev
57+
sudo apt update && sudo apt install build-essential pkg-config libssl-dev libcurl4-openssl-dev
4158
```
4259

43-
* On macOS with Homebrew, you probably need to do these things before bootstrap and configure:
60+
* Install prerequisites on macOS with Homebrew:
4461
```
45-
brew install [email protected] autoconf automake pkg-config libtool
62+
brew install pkg-config [email protected]
4663
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
4764
```
4865

66+
* Configure, build and install osslsigncode:
67+
```
68+
./configure && make && sudo make install
69+
```
70+
4971
## USAGE
5072

5173
Before you can sign a file you need a Software Publishing

0 commit comments

Comments
 (0)