Adding bitchx to build-extensions

This commit is contained in:
Chris Dorman 2020-11-29 16:03:06 -08:00
parent afbe6cb7a2
commit 52cd20b7b6

View File

@ -1,9 +1,9 @@
#!/bin/bash
# Build Freon Linux software from source.
# Version: 0.1.1
# Version: 0.5.0
# (C) Chris Dorman, 2018-2020 GPLv3+
corecount="10"
corecount="25"
#### Variables ###
# mirrors
@ -21,6 +21,7 @@ zlibmirror="https://zlib.net"
termcapmirror="https://ftp.gnu.org/gnu/termcap"
htopmirror="https://github.com/htop-dev/htop/archive"
islmirror="http://isl.gforge.inria.fr"
bitchxmirror="git://git.code.sf.net/p/bitchx/git"
# filenames
gcc="gcc-9.2.0.tar.xz"
@ -380,11 +381,31 @@ isl()
cd ..
}
# IRC clients / servers
# Because why not! :D
bitchx()
{
cd $tmpdir
if [ ! -d "bitchx" ]; then
git clone $bitchxmirror bitchx
fi
cd bitchx
./configure --prefix=$freondir
make -j20
make install
cd $tmpdir
}
case $1 in
all ) echo "Building all!"
ncurses; nano; chttpd; gmp; mpfr; binutils; mpc; gcc; bash; isl; termcap;;
ncurses; nano; chttpd; gmp; mpfr; binutils; mpc; gcc; bash; isl; termcap; bitchx;;
packages ) echo "Building useful essentials..."
ncurses; nano; bash; termcap;;
ncurses; nano; bash; termcap; bitchx;;
* ) echo "Building $1..."
$1;;
esac