File: autogen.sh

package info (click to toggle)
os-autoinst 4.5.1527308405.8b586d5-4.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 22,688 kB
  • sloc: perl: 10,424; cpp: 1,527; python: 217; makefile: 211; sh: 71; xml: 11
file content (18 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -ex

if test -n "$SETUP_FOR_TRAVIS" ; then
  # for recent opencv
  sudo add-apt-repository -y ppa:kubuntu-ppa/backports
  sudo apt-get -y update
  sudo apt-get -y install libdbus-1-dev libssh2-1-dev libopencv-dev libtheora-dev libcv-dev libhighgui-dev tesseract-ocr libsndfile1-dev libfftw3-dev qemu-system
  cpanm -nq --installdeps --with-feature=coverage .
  find . -type f | xargs -n1 sed -i -e 's,#!/usr/bin/perl,#!/usr/bin/env perl,'
fi

mkdir --parent --verbose m4
aclocal --install -Im4
autoreconf --verbose --install --symlink --force

./configure "$@"