ci: add support for CentOS 7

refs: #4610

Change-Id: I699bbbe1f59dd3bd0fe23e94de28b44613833ce6
diff --git a/.jenkins.d/00-deps.sh b/.jenkins.d/00-deps.sh
index 8234693..6bf3ddd 100755
--- a/.jenkins.d/00-deps.sh
+++ b/.jenkins.d/00-deps.sh
@@ -32,3 +32,18 @@
         sudo easy_install --upgrade gcovr
     fi
 fi
+
+if has CentOS $NODE_LABELS; then
+    sudo yum -y install yum-utils pkgconfig libpcap-devel \
+                        openssl-devel libtranslit-icu \
+                        python-devel sqlite-devel \
+                        devtoolset-7-libasan-devel \
+                        devtoolset-7-liblsan-devel
+    sudo yum -y groupinstall 'Development Tools'
+
+    svn checkout https://github.com/cmscaltech/sandie-ndn/trunk/packaging/RPMS/x86_64
+    sudo rpm -U --force x86_64/boost-license*
+    sudo rpm -U --force x86_64/boost-doc-html*
+    sudo rpm -U --force x86_64/libboost*
+    sudo rpm -U --force x86_64/boost-devel*
+fi
diff --git a/.jenkins.d/01-ndn-cxx.sh b/.jenkins.d/01-ndn-cxx.sh
index 29a41ea..e627627 100755
--- a/.jenkins.d/01-ndn-cxx.sh
+++ b/.jenkins.d/01-ndn-cxx.sh
@@ -37,8 +37,8 @@
 
 sudo rm -f /usr/local/bin/ndnsec*
 sudo rm -fr /usr/local/include/ndn-cxx
-sudo rm -f /usr/local/lib/libndn-cxx*
-sudo rm -f /usr/local/lib/pkgconfig/libndn-cxx.pc
+sudo rm -f /usr/local/lib{,64}/libndn-cxx*
+sudo rm -f /usr/local/lib{,64}/pkgconfig/libndn-cxx.pc
 
 pushd ndn-cxx >/dev/null