summaryrefslogtreecommitdiff
path: root/packages/owamp/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/owamp/build.sh')
-rwxr-xr-xpackages/owamp/build.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/owamp/build.sh b/packages/owamp/build.sh
new file mode 100755
index 00000000..8c99f02d
--- /dev/null
+++ b/packages/owamp/build.sh
@@ -0,0 +1,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