package-pipelines-miscellan.../ripe-atlas/build.sh

18 lines
416 B
Bash
Raw Normal View History

2023-12-05 23:40:22 +01:00
#!/bin/bash
set -exo pipefail
ROOT=$(pwd)
export BUILDDIR="${ROOT}/build"
export SRCDIR="${ROOT}/build/srcdir"
mkdir -p "${SRCDIR}"
cd "${SRCDIR}"
2024-07-23 20:12:13 +02:00
apt install --yes git build-essential debhelper libssl-dev autotools-dev
2023-12-05 23:40:22 +01:00
git clone --recursive https://github.com/RIPE-NCC/ripe-atlas-software-probe
2024-07-23 20:23:53 +02:00
cd ripe-atlas-software-probe
2024-07-23 20:12:13 +02:00
git submodule update
dpkg-buildpackage -b -us -uc
mv ../ripe-atlas-*.deb "${BUILDDIR}"