summaryrefslogtreecommitdiff
path: root/packages/owamp/build.sh
blob: 8c99f02d71f3fd353a055eb8b883d3ab8fc13302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -x
CWD=$(pwd)
set -e

SRC=owamp

if [ ! -d ${SRC} ]; then
    echo "source directory does not exists, please 'git clone'"
    exit 1
fi

cd ${SRC}
echo "I: Retrieve version information from Git"
# Build owamp-client owamp-server twamp-client twamp-server
echo "I: Build VyOS owamp Packages"
dpkg-buildpackage -us -uc -tc -b