2014-09-02 22:23:09 +02:00
|
|
|
language: c
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
# install libsodium (needed for libtoxcore)
|
2014-09-02 22:50:32 +02:00
|
|
|
- _libsodium_version=0.7.0
|
2014-09-02 22:23:09 +02:00
|
|
|
- git clone git://github.com/jedisct1/libsodium.git > /dev/null
|
|
|
|
- pushd libsodium
|
2014-09-02 22:31:06 +02:00
|
|
|
- git checkout tags/${_libsodium_version} > /dev/null
|
2014-09-02 22:23:09 +02:00
|
|
|
- ./autogen.sh > /dev/null
|
|
|
|
- ./configure --prefix=/usr > /dev/null
|
|
|
|
- make -j3 > /dev/null
|
2014-09-02 22:35:18 +02:00
|
|
|
- sudo make install > /dev/null
|
2014-09-02 22:23:09 +02:00
|
|
|
- popd
|
|
|
|
|
|
|
|
# install toxcore
|
|
|
|
- git clone git://github.com/irungentoo/toxcore > /dev/null
|
|
|
|
- pushd toxcore
|
|
|
|
- autoreconf -i > /dev/null
|
2014-09-02 22:35:18 +02:00
|
|
|
- ./configure --prefix=/usr --disable-testing --disable-ntox > /dev/null
|
2014-09-02 22:23:09 +02:00
|
|
|
- make -j3 > /dev/null
|
2014-09-02 22:35:18 +02:00
|
|
|
- sudo make install > /dev/null
|
2014-09-02 22:23:09 +02:00
|
|
|
- popd
|
|
|
|
|
2014-09-02 22:50:32 +02:00
|
|
|
# install weechat
|
|
|
|
- git clone git://github.com/weechat/weechat > /dev/null
|
|
|
|
- pushd weechat
|
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake .. -DPREFIX=/usr > /dev/null
|
|
|
|
- make -j3 > /dev/null
|
|
|
|
- sudo make install > /dev/null
|
|
|
|
- popd
|
|
|
|
|
2014-09-02 22:55:36 +02:00
|
|
|
script:
|
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j3
|
|
|
|
|