1 @node Build-instructions
2 @section Build instructions
4 Make sure that Go is installed. For example to install it from packages:
8 @verb{|pkg install go|}
10 @verb{|apt install golang|}
14 $ [fetch|wget] http://www.nncpgo.org/download/nncp-@value{VERSION}.tar.xz
15 $ [fetch|wget] http://www.nncpgo.org/download/nncp-@value{VERSION}.tar.xz.sig
16 $ gpg --verify nncp-@value{VERSION}.tar.xz.sig nncp-@value{VERSION}.tar.xz
17 $ xz --decompress --stdout nncp-@value{VERSION}.tar.xz | tar xf -
18 $ cd nncp-@value{VERSION}
22 It uses @url{http://cr.yp.to/redo.html, redo} build system for that
23 examples. You can use either dozen of various implementations, or at
24 least minimalistic POSIX shell @command{contrib/do} (just replace
25 @command{redo} with @command{contrib/do} in the example above) included
28 There is @command{install} make-target respecting @env{DESTDIR}. It will
29 install binaries and info-documentation:
32 # PREFIX=/usr/local redo install