You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
LICENSE | 3 years ago | |
Makefile | 3 years ago | |
README | 3 years ago | |
gemini-cat.1 | 3 years ago | |
gemini-cat.c | 3 years ago | |
gemini-pipe.1 | 3 years ago | |
gemini-pipe.c | 3 years ago | |
libgeminiclient.3 | 3 years ago | |
libgeminiclient.c | 3 years ago | |
libgeminiclient.h | 3 years ago |
README
PREREQUISITES LibreSSL's `libtls'[1], and pkg-config(1) or pkgconf(1) for automatic configuration. `libbsd' for readpassphrase(3) in gemini-cat(1). BUILDING To build libgeminiclient(3) configured automagically: make or make magic-libgeminiclient To build everything configured automagically: make all or make magic To build libgeminiclient(3) configured manually: export CFLAGS=-I/path/to/libtls/includes make libgeminiclient.a To build gemini-cat(1) configured manually: export CFLAGS='-I/path/to/libtls -I/path/to/libbsd' export LDFLAGS='-L/path/to/libtls -ltls' make gemini-cat To build gemini-pipe(1) configured manually: export CFLAGS='-I/path/to/libtls -I/path/to/libbsd' export LDFLAGS='-L/path/to/libtls -ltls' make gemini-pipe INSTALLING To install libgeminiclient(3) on the system: make install To install gemini-cat(1) on the system: make install-gemini-cat To install gemini-pipe(1) on the system: make install-gemini-pipe To install everything on the system: make install-all To install gemini-cat(1) in your home-directory: make linstall-gemini-cat To install gemini-pipe(1) in your home-directory: make linstall-gemini-pipe MAGIC The ``magic'' make(1) targets attempt to use pkg-config(1) for libraries and their flags. ENVIRONMENT VARIABLES ``DESTDIR'' The destination directory for `install', normally blank. ``PREFIX'' The installation prefix, normally "/usr/local". ``MANDIR'' The man-page sub-directory, normally "man". On some systems it should be set to "share/man". PREPROCESSOR DEFINES ``BUFFER_SIZE'' The size of the buffer for gemini-cat(1) to use, and the default buffer size for gemini-pipe(1). REFERENCES 1: https://www.libressl.org/