diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-03 11:47:28 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-03 11:47:28 +0100 |
commit | 97d490204b9dd2f3bc3b5d54a1321b084f2021d6 (patch) | |
tree | 81b83648a044aa283cb102a3ee29c7c48108b2fd /.github/travis/build-all.sh | |
parent | 55901367d074c93f79b2ce192007e97793e8df9b (diff) | |
download | rtmux-97d490204b9dd2f3bc3b5d54a1321b084f2021d6.tar.gz rtmux-97d490204b9dd2f3bc3b5d54a1321b084f2021d6.tar.bz2 rtmux-97d490204b9dd2f3bc3b5d54a1321b084f2021d6.zip |
Add build of everything.
Diffstat (limited to '.github/travis/build-all.sh')
-rw-r--r-- | .github/travis/build-all.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/travis/build-all.sh b/.github/travis/build-all.sh new file mode 100644 index 00000000..561f9e30 --- /dev/null +++ b/.github/travis/build-all.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +BUILD=$PWD/build + +LIBEVENT=https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stab\ +le.tar.gz +NCURSES=ftp://ftp.invisible-island.net/ncurses/ncurses-6.2.tar.gz + +wget -q $LIBEVENT || exit 1 +tar -zxf libevent-*.tar.gz || exit 1 +(cd libevent-*/ && + ./configure --prefix=$BUILD \ + --enable-shared \ + --disable-libevent-regress \ + --disable-samples && + make && make install) || exit 1 + +wget -q $NCURSES || exit 1 +tar -zxf ncurses-*.tar.gz || exit 1 +(cd ncurses-*/ && + CPPFLAGS=-P ./configure --prefix=$BUILD \ + --with-shared \ + --without-ada \ + --without-cxx \ + --without-manpages \ + --without-progs \ + --without-tests \ + --without-tack \ + --enable-pc-files \ + --with-pkg-config-libdir=$BUILD/lib/pkgconfig && + make && make install) || exit 1 + +sh autogen.sh || exit 1 +PKG_CONFIG_PATH=$BUILD/lib/pkgconfig ./configure --prefix=$BUILD "$@" +make && make install || exit 1 |