2014-09-02 20:23:09 +00:00
|
|
|
language: c
|
|
|
|
|
2014-09-18 16:06:02 +00:00
|
|
|
install:
|
2014-09-02 20:50:32 +00:00
|
|
|
- _libsodium_version=0.7.0
|
2014-09-03 12:36:54 +00:00
|
|
|
- _weechat_version=v1.0
|
|
|
|
|
2014-09-28 01:29:34 +00:00
|
|
|
# install libsodium (libtoxcore dependency)
|
2014-09-18 16:16:15 +00:00
|
|
|
- git clone git://github.com/jedisct1/libsodium.git
|
2014-09-02 20:23:09 +00:00
|
|
|
- pushd libsodium
|
2014-09-18 16:16:15 +00:00
|
|
|
- git checkout tags/${_libsodium_version}
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure --prefix=/usr
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
2014-09-02 20:23:09 +00:00
|
|
|
- popd
|
|
|
|
|
2014-09-18 16:16:15 +00:00
|
|
|
# install libtoxcore
|
|
|
|
- git clone git://github.com/irungentoo/toxcore
|
2014-09-02 20:23:09 +00:00
|
|
|
- pushd toxcore
|
2014-09-18 16:16:15 +00:00
|
|
|
- autoreconf -i
|
|
|
|
- ./configure --prefix=/usr --disable-testing --disable-ntox
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
2014-09-02 20:23:09 +00:00
|
|
|
- popd
|
|
|
|
|
2014-09-02 20:50:32 +00:00
|
|
|
# install weechat
|
2014-09-18 16:16:15 +00:00
|
|
|
- git clone git://github.com/weechat/weechat
|
2014-09-02 20:50:32 +00:00
|
|
|
- pushd weechat
|
2014-09-18 16:16:15 +00:00
|
|
|
- git checkout tags/${_weechat_version}
|
2014-09-02 20:50:32 +00:00
|
|
|
- mkdir build && cd build
|
2014-09-18 16:16:15 +00:00
|
|
|
- cmake .. -DPREFIX=/usr
|
|
|
|
- make -j3
|
|
|
|
- sudo make install
|
2014-09-02 20:50:32 +00:00
|
|
|
- popd
|
|
|
|
|
2014-09-02 20:55:36 +00:00
|
|
|
script:
|
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
|
|
|
- make -j3
|
|
|
|
|