1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #1068 from irssi/ailin-nemui/mesonver-readme

Improve Meson documentation
This commit is contained in:
ailin-nemui 2019-07-17 14:16:52 +02:00 committed by GitHub
commit afde106cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 8 deletions

29
INSTALL
View File

@ -4,14 +4,21 @@
To compile irssi you need:
- glib-2.6 or greater
- pkg-config
- meson-0.49 build system with ninja-1.5 or greater
- glib-2.28 or greater
- openssl (for ssl support)
- perl-5.6 or greater (for perl support)
- terminfo or ncurses (for text frontend)
For most people, this should work just fine:
meson Build
ninja -C Build
su
ninja -C Build install
For the moment, autotools is also supported:
./autogen.sh (for people who just cloned the repository)
./configure (if this script already exists, skip ./autogen.sh)
make
@ -20,39 +27,45 @@ For most people, this should work just fine:
configure options
These options can be given to meson or ./configure.
The first syntax is for meson, the 2nd for ./configure
For a complete list of options, run
meson configure / ./configure --help
--prefix
Specifies the path where irssi will be installed.
YES, you can install irssi WITHOUT ROOT permissions
by using --prefix=/home/dir
--with-proxy
-Dwith-proxy=yes / --with-proxy
Build the irssi proxy (see startup-HOWTO).
--with-perl=[yes|no|module]
-Dwith-perl=[yes|no] / --with-perl=[yes|no|module]
Enable Perl support
yes enable builtin (default)
no disable
module enable as module
--with-perl-lib=[site|vendor|DIR]
-Dwith-perl-lib=[site|vendor|DIR] / --with-perl-lib=[site|vendor|DIR]
Specify installation dir for Perl libraries
site install in dir for site-specific modules (default)
vendor install in dir for vendor-specific modules
DIR install in DIR
--with-socks
[N/A] / --with-socks
Build with socks library
--with-bot
-Dwith-bot=yes / --with-bot
Build irssi-bot
--without-textui
-Dwithout-textui=yes / --without-textui
Build without text frontend

View File

@ -18,6 +18,8 @@ available.
#### Development source installation
[Ninja](http://mesonbuild.com/) 1.5 and [Meson](http://mesonbuild.com/) 0.49
```
git clone https://github.com/irssi/irssi
cd irssi