File: travis_build_script.sh

package info (click to toggle)
ruby-ffi-rzmq 2.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 392 kB
  • sloc: ruby: 2,992; sh: 21; makefile: 2
file content (27 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#/bin/bash
set -ev

bundle install

sudo apt-get -qq update
sudo apt-get install libtool pkg-config build-essential autoconf automake wget 

git clone https://github.com/jedisct1/libsodium --branch stable
cd libsodium
./autogen.sh
./configure && make check
sudo make install
cd ..

VERSION="4.2.2"
BASE="zeromq-${VERSION}"
TARBALL="${BASE}.tar.gz"
wget https://github.com/zeromq/libzmq/releases/download/v$VERSION/$TARBALL
tar -xvf $TARBALL
cd $BASE
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig

bundle exec rake spec